8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:03:02 +01:00

Correction for my patch re. errors at graceful socket shutdown

This commit is contained in:
hvlad 2009-03-07 20:21:10 +00:00
parent 851b77a561
commit d4e7e15b85

View File

@ -3057,8 +3057,9 @@ static bool packet_receive(rem_port* port,
return false;
}
if (!n && inetErrNo) {
inet_error(port, "read end_of_file", isc_net_read_err, inetErrNo);
if (!n) {
if (inetErrNo)
inet_error(port, "read end_of_file", isc_net_read_err, inetErrNo);
return false;
}