Browse Source

Fix typo

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
tags/3.2
Syrone Wong 8 years ago
parent
commit
6a552a03d0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      shadowsocks-csharp/Controller/System/SystemProxy.cs

+ 2
- 2
shadowsocks-csharp/Controller/System/SystemProxy.cs View File

@@ -97,7 +97,7 @@ namespace Shadowsocks.Controller
try {
registry = Utils.OpenUserRegKey( @"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections", true );
if ( registry == null ) {
Logging.Error( @"Cannot find HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" );
Logging.Error( @"Cannot find HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" );
return;
}
var defaultValue = registry.GetValue( "DefaultConnectionSettings" );
@@ -136,7 +136,7 @@ namespace Shadowsocks.Controller
try {
registry = Utils.OpenUserRegKey( @"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections", true );
if ( registry == null ) {
Logging.Error( @"Cannot find HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" );
Logging.Error( @"Cannot find HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" );
return;
}
var defConnection = ( byte[] ) registry.GetValue( "DefaultConnectionSettings" );


Loading…
Cancel
Save