You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@serf.apache.org by ko...@apache.org on 2017/03/22 18:06:19 UTC

svn commit: r1788145 - /serf/trunk/src/pump.c

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;