Permalink
Browse files

Fix evdns build with threads disabled

The last evdns change apparently broke it, by using a "base"
variable that we were only declaring with threads turned on.
  • Loading branch information...
Nick Mathewson
Nick Mathewson committed May 2, 2012
1 parent 3d9e52a commit 265e6779dd1b936298f50a8036e2fb565a785c83
Showing with 1 addition and 2 deletions.
  1. +1 −2 evdns.c
View
@@ -2138,9 +2138,8 @@ evdns_server_request_get_requesting_addr(struct evdns_server_request *_req, stru
static void
evdns_request_timeout_callback(evutil_socket_t fd, short events, void *arg) {
struct request *const req = (struct request *) arg;
-#ifndef _EVENT_DISABLE_THREAD_SUPPORT
struct evdns_base *base = req->base;
-#endif
+
(void) fd;
(void) events;

0 comments on commit 265e677

Please sign in to comment.