Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 31444 invoked by uid 500); 13 Aug 2003 06:08:49 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 31418 invoked from network); 13 Aug 2003 06:08:48 -0000 Date: Wed, 13 Aug 2003 02:08:57 -0400 (EDT) From: Cliff Woolley X-X-Sender: jcw5q@mamba.cs.Virginia.EDU To: Greg Stein cc: dev@apr.apache.org Subject: Re: [PATCH] bucket debugging. In-Reply-To: <20030813053639.GA30695@lyra.org> Message-ID: References: <20030813053639.GA30695@lyra.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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.