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;