diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-06-13 00:47:43 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-06-13 00:47:43 +0200 |
| commit | 3d21700fd487013faa3708ed56b8c243aac284f6 (patch) | |
| tree | 52760ede575540abed245c94b870eae55387490d /src | |
| parent | b00bafae3f1b123d2108454ae5da4c703c91661c (diff) | |
Fix uninitialized field in Monitor
Diffstat (limited to 'src')
| -rw-r--r-- | src/monitor.cc | 1 |
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)); |
