Run indent-all script.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1721 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
e6b10f6bcb
commit
adbb6cf0fc
@ -1113,7 +1113,8 @@ main(int argc, char *argv[])
|
|||||||
/* check if auto reconnect cookie has timed out */
|
/* check if auto reconnect cookie has timed out */
|
||||||
if (time(NULL) - g_reconnect_random_ts > RECONNECT_TIMEOUT)
|
if (time(NULL) - g_reconnect_random_ts > RECONNECT_TIMEOUT)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Tried to reconnect for %d minutes, giving up.\n", RECONNECT_TIMEOUT/60);
|
fprintf(stderr, "Tried to reconnect for %d minutes, giving up.\n",
|
||||||
|
RECONNECT_TIMEOUT / 60);
|
||||||
return EX_PROTOCOL;
|
return EX_PROTOCOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1155,7 +1156,8 @@ main(int argc, char *argv[])
|
|||||||
/* handle network error and start autoreconnect */
|
/* handle network error and start autoreconnect */
|
||||||
if (g_network_error)
|
if (g_network_error)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Disconnected due to network error, retrying to reconnect for %d minutes.\n",
|
fprintf(stderr,
|
||||||
|
"Disconnected due to network error, retrying to reconnect for %d minutes.\n",
|
||||||
RECONNECT_TIMEOUT / 60);
|
RECONNECT_TIMEOUT / 60);
|
||||||
g_network_error = False;
|
g_network_error = False;
|
||||||
g_reconnect_loop = True;
|
g_reconnect_loop = True;
|
||||||
|
Loading…
Reference in New Issue
Block a user