chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Return EAGAIN from _check instead of EWOULDBLOCK.
[adns]
/
client
/
adnslogres.c
diff --git
a/client/adnslogres.c
b/client/adnslogres.c
index 80794852c73094458505fcfac92fb1e33cda8b54..9ee856d046336bd5fce85a1789d54ddf842458bf 100644
(file)
--- a/
client/adnslogres.c
+++ b/
client/adnslogres.c
@@
-30,7
+30,7
@@
*/
static const char * const cvsid =
*/
static const char * const cvsid =
- "$Id: adnslogres.c,v 1.
4 1999/10/10 13:16:24
ian Exp $";
+ "$Id: adnslogres.c,v 1.
5 1999/10/12 22:56:16
ian Exp $";
#include <sys/types.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/time.h>
@@
-154,7
+154,7
@@
static void proclog(int opts) {
err= adns_wait(adns, &head->query, &answer, NULL);
else
err= adns_check(adns, &head->query, &answer, NULL);
err= adns_wait(adns, &head->query, &answer, NULL);
else
err= adns_check(adns, &head->query, &answer, NULL);
- if (err != E
WOULDBLOCK
) {
+ if (err != E
AGAIN
) {
printline(head->start, head->addr, head->rest,
answer->status == adns_s_ok ? *answer->rrs.str : NULL);
line= head; head= head->next;
printline(head->start, head->addr, head->rest,
answer->status == adns_s_ok ? *answer->rrs.str : NULL);
line= head; head= head->next;