Message ID | 1498487169.6717.64.camel@pbcl.net |
---|---|
State | New |
Headers | show |
On Jun 26 2017, Phil Blundell <pb@pbcl.net> wrote: > diff --git a/resolv/gai_suspend.c b/resolv/gai_suspend.c > index a86bd4360d..139d636c78 100644 > --- a/resolv/gai_suspend.c > +++ b/resolv/gai_suspend.c > @@ -111,8 +111,7 @@ gai_suspend (const struct gaicb *const list[], int ent, > /* Now remove the entry in the waiting list for all requests > which didn't terminate. */ > for (cnt = 0; cnt < ent; ++cnt) > - if (list[cnt] != NULL && list[cnt]->__return == EAI_INPROGRESS > - && requestlist[cnt] != NULL) > + if (list[cnt] != NULL && requestlist[cnt] != NULL) > { > struct waitlist **listp = &requestlist[cnt]->waiting; Is the comment still accurate? Andreas.
diff --git a/resolv/gai_suspend.c b/resolv/gai_suspend.c index a86bd4360d..139d636c78 100644 --- a/resolv/gai_suspend.c +++ b/resolv/gai_suspend.c @@ -111,8 +111,7 @@ gai_suspend (const struct gaicb *const list[], int ent, /* Now remove the entry in the waiting list for all requests which didn't terminate. */ for (cnt = 0; cnt < ent; ++cnt) - if (list[cnt] != NULL && list[cnt]->__return == EAI_INPROGRESS - && requestlist[cnt] != NULL) + if (list[cnt] != NULL && requestlist[cnt] != NULL) { struct waitlist **listp = &requestlist[cnt]->waiting;