mirror of
https://github.com/curl/curl.git
synced 2026-07-22 17:47:17 +03:00
gopher: fixed detection of an error condition from Curl_urldecode
This commit is contained in:
parent
516e60aa8e
commit
f7285cc02b
1 changed files with 2 additions and 2 deletions
|
|
@ -106,8 +106,8 @@ static CURLcode gopher_do(struct connectdata *conn, bool *done)
|
|||
|
||||
/* ... and finally unescape */
|
||||
result = Curl_urldecode(data, newp, 0, &sel, &len, FALSE);
|
||||
if(!sel)
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
if(result)
|
||||
return result;
|
||||
sel_org = sel;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue