diff --git a/trunk/ConsoleDataMigration/ConsoleRestore/Importer.cpp b/trunk/ConsoleDataMigration/ConsoleRestore/Importer.cpp index 2b68dcb..dfbd245 100644 --- a/trunk/ConsoleDataMigration/ConsoleRestore/Importer.cpp +++ b/trunk/ConsoleDataMigration/ConsoleRestore/Importer.cpp @@ -1012,7 +1012,6 @@ bool ReadSetting() { s32 dnsAuto; // DNS_AUTO - dnsAuto = configfileLoader.ReadAsInteger(L"DNS_AUTO"); if(configfileLoader.ReadAsChar(L"DNS_AUTO") == NULL) { COMMON_LOGGER("DNS_AUTO: is missing\n"); @@ -1020,7 +1019,7 @@ bool ReadSetting() } else { - if (dnsAuto == 1) + dnsAuto = configfileLoader.ReadAsInteger(L"DNS_AUTO"); if (dnsAuto == 1) { networkSetting.ip.autoDNSSetting = true; } @@ -1090,7 +1089,7 @@ bool ReadSetting() { const char* ntpServerName = configfileLoader.ReadAsChar(L"NTPSRV"); // NTPサーバ - if(s_NtpServerName == NULL) + if(ntpServerName == NULL) { COMMON_LOGGER("NTPSRV: is missing\n"); retval = false;