summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2020-08-28 18:21:47 +0200
committerMarc Hoersken <info@marc-hoersken.de>2020-08-29 09:48:59 +0200
commit05729b66c56fe67ce96a1a0a037cd4946aa46e36 (patch)
tree1187344fb5d964a81db2894eb7b4b689fc30491a /src
parenta935f0bdeb1715ad819c92fc75a49ed3374d5585 (diff)
downloadcurl-05729b66c56fe67ce96a1a0a037cd4946aa46e36.tar.gz
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
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions