mirror of
https://github.com/curl/curl.git
synced 2026-06-07 14:14:16 +03:00
tidy-up: replace (0 == expressions
This commit is contained in:
parent
2530adcf4d
commit
bc72ca01e9
17 changed files with 23 additions and 23 deletions
|
|
@ -356,7 +356,7 @@ int curl_dbg_socketpair(int domain, int type, int protocol,
|
|||
{
|
||||
int res = (socketpair)(domain, type, protocol, socket_vector);
|
||||
|
||||
if(source && (0 == res))
|
||||
if(source && (res == 0))
|
||||
curl_dbg_log("FD %s:%d socketpair() = "
|
||||
"%" FMT_SOCKET_T " %" FMT_SOCKET_T "\n",
|
||||
source, line, socket_vector[0], socket_vector[1]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue