summaryrefslogtreecommitdiff
path: root/src/monitor.cc
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-06-13 00:47:43 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-06-13 00:47:43 +0200
commit3d21700fd487013faa3708ed56b8c243aac284f6 (patch)
tree52760ede575540abed245c94b870eae55387490d /src/monitor.cc
parentb00bafae3f1b123d2108454ae5da4c703c91661c (diff)
Fix uninitialized field in Monitor
Diffstat (limited to 'src/monitor.cc')
-rw-r--r--src/monitor.cc1
1 files changed, 1 insertions, 0 deletions
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));