On Sat, Aug 25, 2018 at 1:39 AM Yann Ylavic <ylavic....@gmail.com> wrote: > > On Fri, Aug 24, 2018 at 11:13 PM <n...@apache.org> wrote: > > > > - if ((*num = j)) { /* any event besides wakeup pipe? */ > > + if (nres > 0) { /* any event besides wakeup pipe? */ > > + *num = nres; > > rv = APR_SUCCESS; > > Shouldn't we set *num = 0 still?
Scratch that, done at the beginning of the function already.