Cliff Woolley wrote:
>On 24 Feb 2002 [EMAIL PROTECTED] wrote:
>
>> + if (!APR_BRIGADE_EMPTY(ctx->ssi_tag_brigade)) {
>> + for (;;) {
>> + apr_bucket *e = APR_BRIGADE_LAST(ctx->ssi_tag_brigade);
>> + if (e == APR_BRIGADE_SENTINEL(ctx->ssi_tag_brigade)) {
>> + break;
>> + }
>> + APR_BUCKET_REMOVE(e);
>> + APR_BRIGADE_INSERT_HEAD(bb, e);
>> + }
>> }
>>
>
><sigh>
>
>PLEASE use APR_BRIGADE_CONCAT() for these kinds of things. I can't say
>that frequently enough I guess.
>
I was thinking about APR_BRIGADE_CONCAT, but what I really needed
was APR_BRIGADE_PREPEND because _CONCAT would have left bb empty.
Is there a "prepend" variant anywhere?
--Brian