log tv_sec in call to yaz_poll
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 1 Sep 2015 12:00:46 +0000 (14:00 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 1 Sep 2015 12:00:46 +0000 (14:00 +0200)
src/eventl.c

index 2e39b3a..40dfeb4 100644 (file)
@@ -273,7 +273,8 @@ static int event_loop(iochan_man_t man, IOCHAN *iochans)
                 fds[i].fd = p->fd;
         }
         assert(i == no_fds);
-        yaz_log(man->log_level, "yaz_poll begin nofds=%d", no_fds);
+        yaz_log(man->log_level, "yaz_poll begin tv_sec=%d nofds=%d", tv_sec,
+                no_fds);
         res = yaz_poll(fds, no_fds, tv_sec, 0);
         yaz_log(man->log_level, "yaz_poll returned res=%d", res);
         if (res < 0)