summaryrefslogtreecommitdiff
path: root/src/common/workqueue.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-09-25 14:31:59 -0400
committerNick Mathewson <nickm@torproject.org>2015-01-14 11:05:56 -0500
commitc51f7c23e3af71466f9bd2ae57ae7a2b998ee3e2 (patch)
treeb146849ad5003a3397063482bbca8054b5ce50ef /src/common/workqueue.c
parent3868b5d210f8bccbfb88464f62089447cb3330ed (diff)
downloadtor-c51f7c23e3af71466f9bd2ae57ae7a2b998ee3e2.tar.gz
tor-c51f7c23e3af71466f9bd2ae57ae7a2b998ee3e2.zip
Test a little more of compat_threads.c
Diffstat (limited to 'src/common/workqueue.c')
-rw-r--r--src/common/workqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/workqueue.c b/src/common/workqueue.c
index e07787b404..9293e1f9f0 100644
--- a/src/common/workqueue.c
+++ b/src/common/workqueue.c
@@ -397,12 +397,12 @@ threadpool_get_replyqueue(threadpool_t *tp)
* IO-centric event loop, it needs to get woken up with means other than a
* condition variable. */
replyqueue_t *
-replyqueue_new(void)
+replyqueue_new(uint32_t alertsocks_flags)
{
replyqueue_t *rq;
rq = tor_malloc_zero(sizeof(replyqueue_t));
- if (alert_sockets_create(&rq->alert) < 0) {
+ if (alert_sockets_create(&rq->alert, alertsocks_flags) < 0) {
tor_free(rq);
return NULL;
}