diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-04-16 23:43:04 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-04-16 23:43:04 +0200 |
commit | c0111460b0689d74731cc56ff019cc869a0d16a8 (patch) | |
tree | 037a368cf8e5f50868320fa214d9915d7df4b924 /lib/url.c | |
parent | 93981bb9b5026f88ed4dec5d790bb7c84265210a (diff) |
Curl_setup_transfer: no longer returns anything
This function could only return CURLE_OK and by changing it to
a void instead, we can simplify code all over.
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4779,9 +4779,8 @@ static CURLcode create_conn(struct SessionHandle *data, return result; } - result = Curl_setup_transfer(conn, -1, -1, FALSE, - NULL, /* no download */ - -1, NULL); /* no upload */ + Curl_setup_transfer(conn, -1, -1, FALSE, NULL, /* no download */ + -1, NULL); /* no upload */ } return result; |