httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject Re: Buckets code question
Date Wed, 11 Apr 2001 16:17:24 GMT
>
> Our problem, obviously, is the explicit return within the block. Maybe we
> could change the call to look like this:
>
> {
>    apr_bucket *the_new_bucket;
>
>    apr_bucket_do_create(the_new_bucket, ...);
>    return the_new_bucket;
> }
>

+1. I really like the explicit return. Returning out of a function call from
within a macro should be a shooting offense.

Bill


Mime
View raw message