Commit f7285cc0 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

gopher: fixed detection of an error condition from Curl_urldecode

parent 516e60aa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
  }