You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Bill Stoddard <bi...@wstoddard.com> on 2001/04/11 18:17:24 UTC

Re: Buckets code question

>
> 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