aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-07-09 21:47:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-07-09 21:47:24 +0000
commitd709cb2ae37c9d9512fe3a9724dd95b0fe49d108 (patch)
treed68c12351c40178ee635c4aa25679f4af44627c8 /lib/ftp.c
parent444bb03fab4ffd0149d1e4479e24fb038388a6fd (diff)
- Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for
setting a file descriptor non-blocking. Used by the functionality Eric himself brough on June 15th.
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 8360e5859..d2a80e07f 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -351,7 +351,7 @@ static CURLcode AllowServerConnect(struct connectdata *conn)
infof(data, "Connection accepted from server\n");
conn->sock[SECONDARYSOCKET] = s;
- Curl_nonblock(s, TRUE); /* enable non-blocking */
+ curlx_nonblock(s, TRUE); /* enable non-blocking */
}
break;
}