diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-10-18 10:58:58 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-10-18 11:05:45 +0200 |
commit | 8a6e89a9ebbaa79a2c4e4301774770efb3d24ef7 (patch) | |
tree | e1f5912ef215b364a0be7c0609f343070ecc6efb /lib/rtsp.c | |
parent | a05906190ca6f7d6135f82595107bcabe4b75c77 (diff) | |
download | curl-8a6e89a9ebbaa79a2c4e4301774770efb3d24ef7.tar.gz |
select: switch to macros in uppercase
Curl_select_ready() was the former API that was replaced with
Curl_select_check() a while back and the former arg setup was provided
with a define (in order to leave existing code unmodified).
Now we instead offer SOCKET_READABLE and SOCKET_WRITABLE for the most
common shortcuts where only one socket is checked. They're also more
visibly macros.
Diffstat (limited to 'lib/rtsp.c')
-rw-r--r-- | lib/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rtsp.c b/lib/rtsp.c index ed3fd64c7..21c7d506b 100644 --- a/lib/rtsp.c +++ b/lib/rtsp.c @@ -147,7 +147,7 @@ bool Curl_rtsp_connisdead(struct connectdata *check) int sval; bool ret_val = TRUE; - sval = Curl_socket_ready(check->sock[FIRSTSOCKET], CURL_SOCKET_BAD, 0); + sval = SOCKET_READABLE(check->sock[FIRSTSOCKET], 0); if(sval == 0) { /* timeout */ ret_val = FALSE; |