apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: [PATCH] Allow unrelated SMSes to reset
Date Wed, 18 Jul 2001 21:57:19 GMT
On Wed, Jul 18, 2001 at 11:59:28PM +0200, Sander Striker wrote:
> Look at the code again. Specifically in apr_sms_destroy. You'll see
> there that the child sms is removed from the child list like so:
> 
> if ((*sms->ref = sms->sibling) != NULL)
>     sms->sibling->ref = sms->ref;
> 
> Which is an inexpensive operation.

Aah, I forgot about your ref trick.  Grr.  Yeah, we can do it pretty
cheaply then.  -- justin


Mime
View raw message