From: Daniel Stenberg Date: Fri, 15 Feb 2008 21:38:54 +0000 (+0000) Subject: mention that we explicitly ignore the return code X-Git-Tag: curl-7_18_1~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48918c304741aaaf8924c377d31cc8b41562fc75;p=curl mention that we explicitly ignore the return code --- 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; }