remove error() accidentally inserted for debugging

pointed out by Christian Hesse
This commit is contained in:
Damien Miller 2015-03-20 09:11:59 +11:00
parent 9f82e5a904
commit 4d24b3b6a4
1 changed files with 1 additions and 3 deletions

View File

@ -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);