diff options
author | Stefan Eissing <stefan@eissing.org> | 2025-08-06 11:56:08 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2025-08-06 14:12:46 +0200 |
commit | 6cebd35b4cda026d6f4ad682a51561be10b7e915 (patch) | |
tree | 09805dde5a69f8fb23069862116a25543b39d593 /lib/gopher.c | |
parent | 034612cd515f249453a435f3d94b04f65744a54d (diff) |
lib: xfer_setup simplify
Make variants for transfers that send/receive or do both with just the
parameters they need. Split out the shutdown setting into a separate
function. Only FTP bothers with that.
Closes #18203
Diffstat (limited to 'lib/gopher.c')
-rw-r--r-- | lib/gopher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gopher.c b/lib/gopher.c index 82e02ed17..9ac3cca3e 100644 --- a/lib/gopher.c +++ b/lib/gopher.c @@ -240,7 +240,7 @@ static CURLcode gopher_do(struct Curl_easy *data, bool *done) if(result) return result; - Curl_xfer_setup1(data, CURL_XFER_RECV, -1, FALSE); + Curl_xfer_setup_recv(data, FIRSTSOCKET, -1, FALSE); return CURLE_OK; } #endif /* CURL_DISABLE_GOPHER */ |