From 8dd4ec387f065d2d95b042d12fc85cb487537142 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 3 Nov 2015 14:33:21 +0200 Subject: [PATCH] Initialize minbody --- ext/yahttp/yahttp/reqresp.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/yahttp/yahttp/reqresp.hpp b/ext/yahttp/yahttp/reqresp.hpp index 9419d556f..78882dd8e 100644 --- a/ext/yahttp/yahttp/reqresp.hpp +++ b/ext/yahttp/yahttp/reqresp.hpp @@ -303,7 +303,7 @@ public: void initialize(T* target) { chunked = false; chunk_size = 0; - bodybuf.str(""); maxbody = 0; + bodybuf.str(""); minbody = 0; maxbody = 0; pos = 0; state = 0; this->target = target; hasBody = false; buffer = ""; -- 2.49.0