diff options
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/net.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemon/net.c b/src/daemon/net.c index 225d6d9..98dd154 100644 --- a/src/daemon/net.c +++ b/src/daemon/net.c @@ -180,6 +180,7 @@ static void *dolisten(void * state) /* no packets in five seconds */ if ((now.tv_sec - st->lastreply.tv_sec) >= 5) { st->status = DEAD; + fprintf(stderr, "Connection with the client has been lost. Last reply since: %li", st->lastreply.tv_sec); } else if (st->data[0] != 'I') { /* we don't actually want to have NONEWDATA set from this loop, * barring the one exeption that is after arrival of the beacon |