apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: [PATCH] bucket debugging.
Date Wed, 13 Aug 2003 06:08:57 GMT
On Tue, 12 Aug 2003, Greg Stein wrote:

> > +    while (curr) {
> > +        if (node == curr) {
> > +            return 0;
> > +        }
> > +        curr = curr->next;
> > +    }
> > +    return 1;
>
> Forget the return code. Just stick an abort() in here.

return 0 to pop the assert, abort, same difference.  :)  But sure, I'll do
it that way, why not.

Mime
View raw message