From b5304cc456ee27383d787591037f5d15ca3b274f Mon Sep 17 00:00:00 2001 From: root Date: Sat, 3 Nov 2007 20:24:42 +0000 Subject: [PATCH 1/1] do not support multiple event bases. period. --- evdns.c | 2 +- event.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/evdns.c b/evdns.c index 3224cce..4894401 100644 --- a/evdns.c +++ b/evdns.c @@ -1,4 +1,4 @@ -/* $Id: evdns.c,v 1.6 2007-11-03 19:41:55 root Exp $ */ +/* $Id: evdns.c,v 1.7 2007-11-03 20:24:42 root Exp $ */ /* The original version of this module was written by Adam Langley; for * a history of modifications, check out the subversion logs. diff --git a/event.c b/event.c index 0c53e2f..904bd62 100644 --- a/event.c +++ b/event.c @@ -74,7 +74,7 @@ const char *event_get_method (void) void *event_init (void) { - if (ev_init (0)) + if (!x_cur && ev_init (0)) return x_cur = &x_base; return 0; -- 2.43.0