git://git.jankratochvil.net
/
udpgate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
dedb5d7
)
+User notification of the probe timeout.
author
short
<>
Sun, 23 May 2004 12:43:13 +0000
(12:43 +0000)
committer
short
<>
Sun, 23 May 2004 12:43:13 +0000
(12:43 +0000)
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index
725e27a
..
dfe306e
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-176,6
+176,7
@@
static gboolean client_touch_timeout(struct client *client)
if (client==probe) {
network_stop();
/* Never destroy 'client' now - it has been destroyed by network_stop()! */
if (client==probe) {
network_stop();
/* Never destroy 'client' now - it has been destroyed by network_stop()! */
+ g_warning(_("No probe response from the server, stopping the daemon. Please check your public Internet connectivity."));
}
else {
client_destroy(client);
}
else {
client_destroy(client);
@@
-665,6
+666,6
@@
pid_t daemon_pid,forked_pid;
NULL, /* context */
TRUE); /* is_running; ignored */
g_main_loop_run(gmainloop); /* loop */
NULL, /* context */
TRUE); /* is_running; ignored */
g_main_loop_run(gmainloop); /* loop */
- g_warning(_("Unable to contact the server, aborting"));
+ /* Unable to contact the server, aborting. */
return FALSE;
}
return FALSE;
}