From 1d4082da2a0baa062bd3703116faf61c4405b380 Mon Sep 17 00:00:00 2001 From: N2614 Date: Mon, 14 Feb 2011 09:25:30 +0000 Subject: [PATCH] =?UTF-8?q?ReadAsInteger=E3=81=AE=E5=89=8D=E3=81=ABReadAsC?= =?UTF-8?q?har=E3=81=99=E3=82=8B=20NTPSRV=E3=81=AE=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E7=A2=BA=E8=AA=8D=E3=81=8C=E3=81=A7=E3=81=8D=E3=81=A6=E3=81=84?= =?UTF-8?q?=E3=81=AA=E3=81=8B=E3=81=A3=E3=81=9F=E3=81=AE=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@51 385bec56-5757-e545-9c3a-d8741f4650f1 --- trunk/ConsoleDataMigration/ConsoleRestore/Importer.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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;