mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 09:23:03 +01:00
Correction for my patch re. errors at graceful socket shutdown
This commit is contained in:
parent
851b77a561
commit
d4e7e15b85
@ -3057,8 +3057,9 @@ static bool packet_receive(rem_port* port,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!n && inetErrNo) {
|
if (!n) {
|
||||||
inet_error(port, "read end_of_file", isc_net_read_err, inetErrNo);
|
if (inetErrNo)
|
||||||
|
inet_error(port, "read end_of_file", isc_net_read_err, inetErrNo);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user