summaryrefslogtreecommitdiffstats
path: root/src/plugins/http/http_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/http/http_buffer.c')
-rw-r--r--src/plugins/http/http_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/http/http_buffer.c b/src/plugins/http/http_buffer.c
index f3dc308dbf8..bc1b8c08630 100644
--- a/src/plugins/http/http_buffer.c
+++ b/src/plugins/http/http_buffer.c
@@ -173,7 +173,7 @@ buf_ptr_drain (http_buffer_t *hb, u32 len)
bf->segs[1].data += len;
bf->segs[0].len -= len;
- HTTP_DBG (1, "drained %u left %u", len, bf->segs[1].len);
+ HTTP_DBG (1, "drained %u left %u", len, bf->segs[0].len);
if (!bf->segs[0].len)
{