aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 75b298706..a95426fe6 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -5466,7 +5466,7 @@ CURLcode Curl_do_more(struct connectdata *conn, bool *completed)
if(conn->handler->do_more)
result = conn->handler->do_more(conn, completed);
- if(!result && completed)
+ if(!result && *completed)
/* do_complete must be called after the protocol-specific DO function */
do_complete(conn);