diff options
author | root <root> | 2007-11-03 20:24:42 +0000 |
---|---|---|
committer | root <root> | 2007-11-03 20:24:42 +0000 |
commit | b5304cc456ee27383d787591037f5d15ca3b274f (patch) | |
tree | 428eb8b64be06f5b24aa416ef9ae8dea8e84f5ea | |
parent | 2c478454e9a3a21bdc62c7f46b02149795888437 (diff) |
do not support multiple event bases. period.
-rw-r--r-- | evdns.c | 2 | ||||
-rw-r--r-- | event.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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. @@ -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; |