aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-10-04 15:14:27 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-10-04 15:14:27 +0200
commitd94717e0990062a3f1318180009a266314b7409e (patch)
tree1044497d0b85eaef092e066ee32e839097507fc2 /lib/ftp.c
parenta60825fa96f5e38bf8b591c696c85182c4804790 (diff)
nonblock: call with (void) to show we ignore the return code
Coverity pointed out several of these.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 715afc2f2..d72575feb 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -346,7 +346,7 @@ static CURLcode AcceptServerConnect(struct connectdata *conn)
infof(data, "Connection accepted from server\n");
conn->sock[SECONDARYSOCKET] = s;
- curlx_nonblock(s, TRUE); /* enable non-blocking */
+ (void)curlx_nonblock(s, TRUE); /* enable non-blocking */
conn->sock_accepted[SECONDARYSOCKET] = TRUE;
if(data->set.fsockopt) {