From: ian Date: Sun, 26 Mar 2000 15:09:10 +0000 (+0000) Subject: compiles X-Git-Tag: abandon.2000-03-26.infotodebug-0.7~1 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=commitdiff_plain;h=26cc07a3b9ee74da8d50289482bfc3e7a34352e9 compiles --- diff --git a/src/event.c b/src/event.c index 885ab81..1b679e6 100644 --- a/src/event.c +++ b/src/event.c @@ -540,7 +540,7 @@ void adns_beforeselect(adns_state ads, int *maxfd_io, fd_set *readfds_io, if (tv_mod && (!*tv_mod || (*tv_mod)->tv_sec || (*tv_mod)->tv_usec)) { /* The caller is planning to sleep. */ adns__must_gettimeofday(ads,&now,&tv_nowbuf); - if (!now) { inter_immed(tv_mod,tv_iobuf); goto xit; } + if (!now) { inter_immed(tv_mod,tv_tobuf); goto xit; } adns__timeouts(ads, 1, tv_mod,tv_tobuf, *now); } @@ -665,7 +665,7 @@ int adns_wait(adns_state ads, void **context_r) { int r, maxfd, rsel; fd_set readfds, writefds, exceptfds; - struct timeval *now, nowbuf, tvbuf, *tvp; + struct timeval tvbuf, *tvp; adns__consistency(ads,*query_io,cc_entex); for (;;) {