mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
Print errno information in write_packet
This commit is contained in:
parent
188ec1e258
commit
cd700aaf6e
4
packet.c
4
packet.c
@ -90,7 +90,7 @@ void write_packet() {
|
||||
TRACE2(("leave write_packet: EINTR"))
|
||||
return;
|
||||
} else {
|
||||
dropbear_exit("Error writing");
|
||||
dropbear_exit("Error writing: %s", strerror(errno));
|
||||
}
|
||||
}
|
||||
|
||||
@ -131,7 +131,7 @@ void write_packet() {
|
||||
TRACE2(("leave writepacket: EINTR"))
|
||||
return;
|
||||
} else {
|
||||
dropbear_exit("Error writing");
|
||||
dropbear_exit("Error writing: %s", strerror(errno));
|
||||
}
|
||||
}
|
||||
all_ignore = (packet_type == SSH_MSG_IGNORE);
|
||||
|
Loading…
Reference in New Issue
Block a user