From: Wilfried Goesgens Date: Thu, 11 Oct 2012 15:05:14 +0000 (+0200) Subject: EVENT_CLIENT: to ease debugging put the function names in the log line; else we may... X-Git-Tag: v8.20~223 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=e606b1c0e9cf8427d5c5c8f14cb6155cee65287e EVENT_CLIENT: to ease debugging put the function names in the log line; else we may have problems with the post mortem analysis to find out which path we went. --- diff --git a/citadel/event_client.c b/citadel/event_client.c index 6b39829f9..22f629eda 100644 --- a/citadel/event_client.c +++ b/citadel/event_client.c @@ -581,7 +581,7 @@ IO_send_callback(struct ev_loop *loop, ev_io *watcher, int revents) if (errno != EAGAIN) { StopClientWatchers(IO, 1); EV_syslog(LOG_DEBUG, - "EVENT: Socket Invalid! [%d] [%s] [%d]\n", + "IO_send_callback(): Socket Invalid! [%d] [%s] [%d]\n", errno, strerror(errno), IO->SendBuf.fd); StrBufPrintf(IO->ErrMsg, "Socket Invalid! [%s]", @@ -814,7 +814,7 @@ IO_recv_callback(struct ev_loop *loop, ev_io *watcher, int revents) // FD is gone. kick it. StopClientWatchers(IO, 1); EV_syslog(LOG_DEBUG, - "EVENT: Socket Invalid! [%d] [%s] [%d]\n", + "IO_recv_callback(): Socket Invalid! [%d] [%s] [%d]\n", errno, strerror(errno), IO->SendBuf.fd); StrBufPrintf(IO->ErrMsg, "Socket Invalid! [%s]",