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
This commit is contained in:
luca 2010-01-26 09:28:57 +00:00
parent c2dee90b16
commit 97af908933
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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;