aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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;
}