aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-02-15 21:38:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-02-15 21:38:54 +0000
commit48918c304741aaaf8924c377d31cc8b41562fc75 (patch)
tree1b464240d391f8f0c6e74cae64cd743cfda7cb90 /lib
parentdc42d6fb8d5b0faaf801160b7d6b4c927843e43c (diff)
mention that we explicitly ignore the return code
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 234c581bf..cecb8b6f4 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3682,7 +3682,8 @@ static CURLcode CreateConnection(struct SessionHandle *data,
result = setup_range(data);
if(result) {
DEBUGASSERT(conn->handler->done);
- conn->handler->done(conn, result, FALSE);
+ /* we ignore the return code for the protocol-specific DONE */
+ (void)conn->handler->done(conn, result, FALSE);
return result;
}