1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-01 09:51:46 -05:00
Marc Hoersken 05729b66c5
select: simplify return code handling for poll and select
poll and select already return -1 on error according to POSIX,
so there is no need to perform a <0 to -1 conversion in code.

Also we can just use one check with <= 0 on the return code.

Assisted-by: Daniel Stenberg
Reviewed-by: Jay Satiro

Replaces #5852
Closes #5880
2020-08-29 09:48:59 +02:00
..
2020-06-19 23:29:26 +02:00
2019-03-15 10:22:42 +01:00
2019-03-15 10:22:42 +01:00
2020-05-14 18:13:27 +02:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2020-08-03 23:43:24 +02:00
2019-11-08 14:51:42 +01:00
2020-04-25 11:15:49 +02:00
2020-08-24 08:41:48 +02:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2018-06-11 11:14:48 +02:00
2019-11-08 14:51:42 +01:00
2020-08-03 23:43:24 +02:00
2020-07-14 17:53:45 +02:00
2020-08-03 23:43:24 +02:00
2020-05-14 18:13:27 +02:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2018-12-10 00:10:04 +01:00
2019-05-17 23:24:34 +02:00
2017-09-02 17:47:10 +01:00
2020-07-28 23:51:17 +02:00
2019-11-08 14:51:42 +01:00
2020-02-18 07:49:15 +01:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2020-04-26 23:59:22 +02:00
2020-05-25 19:44:04 +00:00
2020-05-25 19:44:04 +00:00
2020-08-24 08:41:48 +02:00
2020-08-24 08:41:48 +02:00
2020-07-18 12:37:25 +02:00
2020-08-24 08:41:48 +02:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2020-02-19 08:04:35 +01:00
2020-08-24 08:41:48 +02:00
2020-07-14 08:30:17 +00:00