summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/socketpair.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/socketpair.c')
-rw-r--r--libs/libcurl/src/socketpair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libcurl/src/socketpair.c b/libs/libcurl/src/socketpair.c
index 22b067335a..b7adf20bfc 100644
--- a/libs/libcurl/src/socketpair.c
+++ b/libs/libcurl/src/socketpair.c
@@ -53,7 +53,7 @@ int Curl_pipe(curl_socket_t socks[2], bool nonblocking)
return -1;
#ifdef HAVE_FCNTL
if(fcntl(socks[0], F_SETFD, FD_CLOEXEC) ||
- fcntl(socks[1], F_SETFD, FD_CLOEXEC) ) {
+ fcntl(socks[1], F_SETFD, FD_CLOEXEC)) {
close(socks[0]);
close(socks[1]);
socks[0] = socks[1] = CURL_SOCKET_BAD;