summaryrefslogtreecommitdiff
path: root/evdns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-04-06 11:05:35 -0400
committerNick Mathewson <nickm@torproject.org>2012-05-09 12:05:59 -0400
commita4079aa88a5d4bd70ad3c74f83460e1a0a40772d (patch)
treee5b37b8f61cc693c1339cfedc3735449c128189b /evdns.c
parentae2b84b2575be93d0aebba5c0b78453836f89f3c (diff)
downloadlibevent-a4079aa88a5d4bd70ad3c74f83460e1a0a40772d.tar.gz
Replace more deferred_cb names with event_callback
Diffstat (limited to 'evdns.c')
-rw-r--r--evdns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/evdns.c b/evdns.c
index ff36fc3c..b815b9d0 100644
--- a/evdns.c
+++ b/evdns.c
@@ -754,7 +754,7 @@ evdns_requests_pump_waiting_queue(struct evdns_base *base) {
/* TODO(nickm) document */
struct deferred_reply_callback {
- struct deferred_cb deferred;
+ struct event_callback deferred;
struct evdns_request *handle;
u8 request_type;
u8 have_reply;
@@ -765,7 +765,7 @@ struct deferred_reply_callback {
};
static void
-reply_run_callback(struct deferred_cb *d, void *user_pointer)
+reply_run_callback(struct event_callback *d, void *user_pointer)
{
struct deferred_reply_callback *cb =
EVUTIL_UPCAST(d, struct deferred_reply_callback, deferred);
@@ -840,7 +840,7 @@ reply_schedule_callback(struct request *const req, u32 ttl, u32 err, struct repl
&d->deferred, reply_run_callback,
req->user_pointer);
event_deferred_cb_schedule_(
- event_base_get_deferred_cb_queue_(req->base->event_base),
+ req->base->event_base,
&d->deferred);
}