aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-04-16 23:43:04 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-04-16 23:43:04 +0200
commitc0111460b0689d74731cc56ff019cc869a0d16a8 (patch)
tree037a368cf8e5f50868320fa214d9915d7df4b924 /lib/url.c
parent93981bb9b5026f88ed4dec5d790bb7c84265210a (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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/url.c b/lib/url.c
index 6dc267204..a84e69d35 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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;