serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kot...@apache.org
Subject svn commit: r1788145 - /serf/trunk/src/pump.c
Date Wed, 22 Mar 2017 18:06:19 GMT
Author: kotkov
Date: Wed Mar 22 18:06:19 2017
New Revision: 1788145

URL: http://svn.apache.org/viewvc?rev=1788145&view=rev
Log:
Unbreak build with defined SERF_DEBUG_BUCKET_USE.

* src/pump.c
  (pump_cleanup): Fix typo when calling serf__bucket_drain().

Approved by: rhuijben

Modified:
    serf/trunk/src/pump.c

Modified: serf/trunk/src/pump.c
URL: http://svn.apache.org/viewvc/serf/trunk/src/pump.c?rev=1788145&r1=1788144&r2=1788145&view=diff
==============================================================================
--- serf/trunk/src/pump.c (original)
+++ serf/trunk/src/pump.c Wed Mar 22 18:06:19 2017
@@ -35,7 +35,7 @@ static apr_status_t pump_cleanup(void *b
 
     if (pump->ostream_head != NULL) {
 #ifdef SERF_DEBUG_BUCKET_USE
-        serf__bucket_drain(conn->ostream_head);
+        serf__bucket_drain(pump->ostream_head);
 #endif
         serf_bucket_destroy(pump->ostream_head);
         pump->ostream_head = NULL;



Mime
View raw message