Commit 9eb6fc1f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

clear the sockerror if no error was returned

parent 253f5f1a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -428,6 +428,8 @@ int Curl_read(struct connectdata *conn,
#endif
        return -1;
    }
    else
      conn->sockerror = 0; /* no error */

#ifdef USE_SSLEAY
  }