serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1700830 - /serf/trunk/buckets/request_buckets.c
Date Wed, 02 Sep 2015 14:10:24 GMT
Author: ivan
Date: Wed Sep  2 14:10:23 2015
New Revision: 1700830

URL: http://svn.apache.org/r1700830
Log:
* buckets/request_buckets.c
  (serf_request_destroy): Fix indentation.

Modified:
    serf/trunk/buckets/request_buckets.c

Modified: serf/trunk/buckets/request_buckets.c
URL: http://svn.apache.org/viewvc/serf/trunk/buckets/request_buckets.c?rev=1700830&r1=1700829&r2=1700830&view=diff
==============================================================================
--- serf/trunk/buckets/request_buckets.c (original)
+++ serf/trunk/buckets/request_buckets.c Wed Sep  2 14:10:23 2015
@@ -194,14 +194,15 @@ static apr_status_t serf_request_peek(se
    hasn't been called on the bucket */
 static void serf_request_destroy(serf_bucket_t *bucket)
 {
-  request_context_t *ctx = bucket->data;
+    request_context_t *ctx = bucket->data;
 
-  serf_bucket_destroy(ctx->headers);
+    serf_bucket_destroy(ctx->headers);
 
-  if (ctx->body)
-    serf_bucket_destroy(ctx->body);
+    if (ctx->body) {
+        serf_bucket_destroy(ctx->body);
+    }
 
-  serf_default_destroy_and_data(bucket);
+    serf_default_destroy_and_data(bucket);
 }
 
 void serf_bucket_request_become(



Mime
View raw message