+User notification of the probe timeout.
authorshort <>
Sun, 23 May 2004 12:43:13 +0000 (12:43 +0000)
committershort <>
Sun, 23 May 2004 12:43:13 +0000 (12:43 +0000)
src/network.c

index 725e27a..dfe306e 100644 (file)
@@ -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()! */
+               g_warning(_("No probe response from the server, stopping the daemon. Please check your public Internet connectivity."));
                }
        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 */
-       g_warning(_("Unable to contact the server, aborting"));
+       /* Unable to contact the server, aborting. */
        return FALSE;
 }