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:32:27 +1100 |
commit | 4d24b3b6a4a6383e05e7da26d183b79fa8663697 (patch) | |
tree | fc6b7fddc084e2d29522499f938c7678587cfa04 /monitor_wrap.c | |
parent | 9f82e5a9042f2d872e98f48a876fcab3e25dd9bb (diff) |
remove error() accidentally inserted for debugging
pointed out by Christian Hesse
Diffstat (limited to 'monitor_wrap.c')
-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 b379f0555..d39d491c2 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c | |||
@@ -153,10 +153,8 @@ mm_request_receive(int sock, Buffer *m) | |||
153 | debug3("%s entering", __func__); | 153 | debug3("%s entering", __func__); |
154 | 154 | ||
155 | if (atomicio(read, sock, buf, sizeof(buf)) != sizeof(buf)) { | 155 | if (atomicio(read, sock, buf, sizeof(buf)) != sizeof(buf)) { |
156 | if (errno == EPIPE) { | 156 | if (errno == EPIPE) |
157 | error("%s: socket closed", __func__); | ||
158 | cleanup_exit(255); | 157 | cleanup_exit(255); |
159 | } | ||
160 | fatal("%s: read: %s", __func__, strerror(errno)); | 158 | fatal("%s: read: %s", __func__, strerror(errno)); |
161 | } | 159 | } |
162 | msg_len = get_u32(buf); | 160 | msg_len = get_u32(buf); |