diff options
author | Damien Miller <djm@mindrot.org> | 2015-03-20 09:11:59 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-03-20 09:11:59 +1100 |
commit | c7fe79ed7db427f1474e72b9f8b465901d61d3f6 (patch) | |
tree | fc6b7fddc084e2d29522499f938c7678587cfa04 | |
parent | 9f82e5a9042f2d872e98f48a876fcab3e25dd9bb (diff) |
remove error() accidentally inserted for debugging
pointed out by Christian Hesse
-rw-r--r-- | monitor_wrap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c index b379f055..d39d491c 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c @@ -153,10 +153,8 @@ mm_request_receive(int sock, Buffer *m) debug3("%s entering", __func__); if (atomicio(read, sock, buf, sizeof(buf)) != sizeof(buf)) { - if (errno == EPIPE) { - error("%s: socket closed", __func__); + if (errno == EPIPE) cleanup_exit(255); - } fatal("%s: read: %s", __func__, strerror(errno)); } msg_len = get_u32(buf); |