]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
gopher: remove accidental conn->data leftover
authorDaniel Stenberg <daniel@haxx.se>
Mon, 18 Jan 2021 21:57:56 +0000 (22:57 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 18 Jan 2021 21:57:56 +0000 (22:57 +0100)
lib/gopher.c

index 085426815430615e374f868fe1ba90f439169c7c..e5c7d2752a4e647a9ff55620a1cf5d27485ced0d 100644 (file)
@@ -192,7 +192,7 @@ static CURLcode gopher_do(struct Curl_easy *data, bool *done)
     else
       break;
 
-    timeout_ms = Curl_timeleft(conn->data, NULL, FALSE);
+    timeout_ms = Curl_timeleft(data, NULL, FALSE);
     if(timeout_ms < 0) {
       result = CURLE_OPERATION_TIMEDOUT;
       break;