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.

Reply via email to