From 3d21700fd487013faa3708ed56b8c243aac284f6 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Tue, 13 Jun 2017 00:47:43 +0200 Subject: Fix uninitialized field in Monitor --- src/monitor.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/monitor.cc b/src/monitor.cc index 673ad14..fdf226c 100644 --- a/src/monitor.cc +++ b/src/monitor.cc @@ -109,6 +109,7 @@ private: } else { out_->clear(); } + content_skip_ = 0; looper_->add(sock_.get(), Looper::EVENT_WRITE, std::bind(&MonitorImpl::event, this, std::placeholders::_1, std::placeholders::_2)); -- cgit v1.2.3-70-g09d2