Author: rhuijben
Date: Tue Nov 10 10:17:09 2015
New Revision: 1713603

URL: http://svn.apache.org/viewvc?rev=1713603&view=rev
Log:
* test/test_context.c
  (queue_part2): Really queue the second part. Use aggregate allocator.

Found by: -DSERF_DEBUG_BUCKET_USE

Modified:
    serf/trunk/test/test_context.c

Modified: serf/trunk/test/test_context.c
URL: 
http://svn.apache.org/viewvc/serf/trunk/test/test_context.c?rev=1713603&r1=1713602&r2=1713603&view=diff
==============================================================================
--- serf/trunk/test/test_context.c (original)
+++ serf/trunk/test/test_context.c Tue Nov 10 10:17:09 2015
@@ -736,9 +736,9 @@ static apr_status_t queue_part2(void *ba
     handler_baton_t *ctx = baton;
 
     if (ctx->done) {
-        body_bkt = serf_bucket_simple_create(REQUEST_PART1, 
strlen(REQUEST_PART2),
+        body_bkt = serf_bucket_simple_create(REQUEST_PART2, 
strlen(REQUEST_PART2),
                                              NULL, NULL,
-                                             ctx->tb->bkt_alloc);
+                                             aggregate_bucket->allocator);
         serf_bucket_aggregate_append(aggregate_bucket, body_bkt);
     }
 


Reply via email to