From 97af908933c86cbcb943c8e0f4b94b46091d4884 Mon Sep 17 00:00:00 2001 From: luca Date: Tue, 26 Jan 2010 09:28:57 +0000 Subject: [PATCH] Patch level : Files correlati : Ricompilazione Demo : [ ] Commento : prima parte del supporto per aggiornamento web intelligente git-svn-id: svn://10.65.10.50/trunk@19983 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ba/ba1103.cpp | 2 +- xvaga/xvaga.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ba/ba1103.cpp b/ba/ba1103.cpp index dd4ac85c7..d04cd40af 100755 --- a/ba/ba1103.cpp +++ b/ba/ba1103.cpp @@ -225,7 +225,7 @@ bool send_campo_xml() { TWait_cursor waiter; bool ok = save_campo_xml(); - if (ok && (xvt_net_get_status() & 0x7) && !is_power_station()) + if (ok && (xvt_net_get_status() & 0x4) && !is_power_station()) { TSocketClient aga; CONNID id = aga.QueryConnection("21", "www.aga.it"); diff --git a/xvaga/xvaga.cpp b/xvaga/xvaga.cpp index 2c4afc29e..14a397822 100755 --- a/xvaga/xvaga.cpp +++ b/xvaga/xvaga.cpp @@ -3105,7 +3105,7 @@ int xvt_net_get_status() nStatus |= 0x2; // 2 = Always Online wxIPV4address addr; if (addr.Hostname("www.google.com")) - nStatus |= 0x4; + nStatus |= 0x4; // 4 = Connected to web } } delete dum;