mirror of
https://github.com/curl/curl.git
synced 2026-06-16 05:16:02 +03:00
Curl_do_more: fix typo logic
In the recent do_more fix the new logic was mistakenly checking the pointer instead of what it points to. Reported by: Gokhan Sengun Bug: http://curl.haxx.se/mail/lib-2011-12/0250.html
This commit is contained in:
parent
5ac9ec7205
commit
4f8db8bf95
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue