From 48918c304741aaaf8924c377d31cc8b41562fc75 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 15 Feb 2008 21:38:54 +0000 Subject: mention that we explicitly ignore the return code --- lib/url.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3