mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 02:03: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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user