Dmitry V. Levin
d5f8890bbf
socket: fix use of ERRNO_IS_DISCONNECT()
...
Given that ERRNO_IS_DISCONNECT() also matches positive values,
make sure this macro is not called with arguments that do not have
errno semantics.
In this case the argument passed to ERRNO_IS_DISCONNECT() is the value
returned by socket_acquire_peer() which can legitimately return 1
without errno semantics, so fix this by moving ERRNO_IS_DISCONNECT()
invocation to the branch where the return value is known to be negative.
2023-07-16 10:53:30 +00:00
..
2023-07-14 22:49:01 +01:00
2023-07-06 11:59:41 +01:00
2023-07-12 20:05:18 +02:00
2023-07-14 23:06:18 +01:00
2023-07-14 15:56:29 +01:00
2023-07-14 22:47:37 +01:00
2023-07-13 17:03:13 +09:00
2023-07-16 10:53:30 +00:00
2023-07-02 11:10:12 +01:00
2023-07-10 14:26:51 +02:00
2023-07-06 10:59:41 +00:00
2023-07-06 12:20:04 +01:00
2023-07-14 16:59:34 +00:00
2023-07-10 16:39:16 +02:00
2023-07-14 01:29:23 +08:00
2023-07-14 14:06:51 +01:00
2023-07-04 23:15:36 +02:00
2023-07-11 18:04:22 +08:00
2023-07-13 13:24:53 +01:00
2023-07-02 11:10:12 +01:00
2023-07-12 10:14:50 +09:00
2023-07-12 21:48:04 +02:00
2023-07-06 00:06:25 +09:00
2023-07-14 12:28:26 +02:00
2023-07-14 16:53:41 +09:00
2023-07-03 13:07:29 -07:00
2023-07-12 20:05:18 +02:00
2023-07-10 16:39:16 +02:00
2023-07-12 20:05:18 +02:00
2023-07-10 16:39:16 +02:00
2023-07-12 20:05:18 +02:00
2023-07-14 22:57:31 +01:00
2023-07-02 11:10:12 +01:00
2023-07-05 10:40:56 +09:00
2023-06-28 21:58:17 +02:00
2023-07-14 16:59:34 +00:00
2023-07-04 23:15:36 +02:00
2023-07-14 13:13:53 +00:00
2023-06-27 13:49:46 +02:00
2023-07-16 10:53:30 +00:00
2023-07-12 20:05:18 +02:00
2023-07-10 11:39:35 +01:00
2023-07-14 22:49:01 +01:00
2023-07-10 16:40:30 +02:00
2023-07-14 16:59:34 +00:00
2023-07-04 23:15:36 +02:00
2023-07-04 01:05:02 +01:00
2023-07-15 14:28:35 +01:00
2023-07-06 11:59:41 +01:00
2023-07-04 23:15:36 +02:00
2023-07-14 23:01:26 +01:00
2023-07-02 11:10:12 +01:00
2023-06-28 22:13:13 +02:00
2023-07-12 20:05:18 +02:00
2023-07-13 16:31:05 +01:00
2023-07-14 23:06:18 +01:00