summaryrefslogtreecommitdiff
path: root/src/common/workqueue.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-08-17 14:40:27 -0400
committerNick Mathewson <nickm@torproject.org>2015-08-17 14:40:27 -0400
commitf724b2e5aaded4bc471b72f39eb990cc4114cb90 (patch)
tree3e8c8f09cb2d6d7479460fe2020541456fa18a1f /src/common/workqueue.c
parent5fe18bcf5459d8801fdeaf01e74571cd36ba47da (diff)
parent720a9ccb2f4392ca12e9a473125e54c20c291d4a (diff)
downloadtor-f724b2e5aaded4bc471b72f39eb990cc4114cb90.tar.gz
tor-f724b2e5aaded4bc471b72f39eb990cc4114cb90.zip
Merge remote-tracking branch 'public/bug16741_026'
Diffstat (limited to 'src/common/workqueue.c')
-rw-r--r--src/common/workqueue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/workqueue.c b/src/common/workqueue.c
index cf63634076..b0b004dc25 100644
--- a/src/common/workqueue.c
+++ b/src/common/workqueue.c
@@ -480,7 +480,8 @@ replyqueue_process(replyqueue_t *queue)
if (queue->alert.drain_fn(queue->alert.read_fd) < 0) {
static ratelim_t warn_limit = RATELIM_INIT(7200);
log_fn_ratelim(&warn_limit, LOG_WARN, LD_GENERAL,
- "Failure from drain_fd");
+ "Failure from drain_fd: %s",
+ tor_socket_strerror(tor_socket_errno(queue->alert.read_fd)));
}
tor_mutex_acquire(&queue->lock);