mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 16:24:39 +02:00
remove error() accidentally inserted for debugging
pointed out by Christian Hesse
This commit is contained in:
parent
9f82e5a904
commit
4d24b3b6a4
@ -153,10 +153,8 @@ mm_request_receive(int sock, Buffer *m)
|
|||||||
debug3("%s entering", __func__);
|
debug3("%s entering", __func__);
|
||||||
|
|
||||||
if (atomicio(read, sock, buf, sizeof(buf)) != sizeof(buf)) {
|
if (atomicio(read, sock, buf, sizeof(buf)) != sizeof(buf)) {
|
||||||
if (errno == EPIPE) {
|
if (errno == EPIPE)
|
||||||
error("%s: socket closed", __func__);
|
|
||||||
cleanup_exit(255);
|
cleanup_exit(255);
|
||||||
}
|
|
||||||
fatal("%s: read: %s", __func__, strerror(errno));
|
fatal("%s: read: %s", __func__, strerror(errno));
|
||||||
}
|
}
|
||||||
msg_len = get_u32(buf);
|
msg_len = get_u32(buf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user