EVENT_CLIENT: to ease debugging put the function names in the log line; else we may...
authorWilfried Goesgens <dothebart@citadel.org>
Thu, 11 Oct 2012 15:05:14 +0000 (17:05 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 11 Oct 2012 15:05:14 +0000 (17:05 +0200)
citadel/event_client.c

index 6b39829f9285f736507e952c66ad463df21faef4..22f629eda3af8e29a10af5388e85dadc89c75cba 100644 (file)
@@ -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]",