about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-04-20 05:49:24 +0000
committerEric Wong <normalperson@yhbt.net>2012-04-20 05:49:24 +0000
commita70803dcc76836d42e1082e556a8bb98d728e07b (patch)
tree4cfb1722e06b26e691c36e6b0bee2521119c79d0
parent7acb104061cb9456894fab61b927a82cb39b2d06 (diff)
downloadcmogstored-a70803dcc76836d42e1082e556a8bb98d728e07b.tar.gz
This was accidentally left in while diagnosing an issue
with libkqueue.
-rw-r--r--queue_kqueue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/queue_kqueue.c b/queue_kqueue.c
index 8d2add8..1242f51 100644
--- a/queue_kqueue.c
+++ b/queue_kqueue.c
@@ -128,7 +128,6 @@ static void qpush(struct mog_queue *q, struct mog_fd *mfd, enum mog_qev ev)
         EV_SET(&event, mfd->fd, (short)ev, flags, 0, 0, mfd);
 
         mog_fd_check_in(mfd);
-        errno = 0;
         do {
                 rc = kevent(q->queue_fd, &event, 1, NULL, 0, NULL);
         } while (rc < 0 && errno == EINTR);