summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-18 22:57:56 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-18 22:57:56 +0100
commitf98f219c35a3734ee3fb9876d0438417e4948c16 (patch)
treebcfd93799a4276ba5de985d369688adc251394de
parenta3efced012632b3893340507542227686c61e0a4 (diff)
downloadcurl-f98f219c35a3734ee3fb9876d0438417e4948c16.tar.gz
gopher: remove accidental conn->data leftover
-rw-r--r--lib/gopher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gopher.c b/lib/gopher.c
index 085426815..e5c7d2752 100644
--- a/lib/gopher.c
+++ b/lib/gopher.c
@@ -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;