diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gopher.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gopher.c b/lib/gopher.c index a073d0ba2..6b57d3519 100644 --- a/lib/gopher.c +++ b/lib/gopher.c @@ -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; } |