On Thu, 27 Dec 2001, Justin Erenkrantz wrote: > On Thu, Dec 27, 2001 at 11:07:22PM -0500, Cliff Woolley wrote: > > > > Why are there some circumstances when f->c is NULL but f->r and > > f->r->connection are valid? I could understand f->r being NULL while f->c > > would not be, but the other way around took me totally by surprise. > > I agree. I wonder if this patch would break anything. It seems > sane. -- justin > - f->c = c; > + f->c = r ? r->connection : c;
But you shouldn't have to do that... most callers seem to pass in r->connection anyway. There's just a bug somewhere I think. I'll track it down when I get back to town. --Cliff -------------------------------------------------------------- Cliff Woolley [EMAIL PROTECTED] Charlottesville, VA