diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-02-15 10:15:46 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-02-16 10:48:57 +0100 |
commit | cfff12a0b3d8696e5923064ea4e35e14a4f78da0 (patch) | |
tree | 40907a5b1d6bc3827e2cff454c72ce6c05d2fb4e /lib/connect.c | |
parent | a59c33ceffb8f78b71fa084bbc99c94ecfe82ce6 (diff) | |
download | curl-cfff12a0b3d8696e5923064ea4e35e14a4f78da0.tar.gz |
lib: remove 'conn->data' completely
The Curl_easy pointer struct entry in connectdata is now gone. Just
before commit 215db086e0 landed on January 8, 2021 there were 919
references to conn->data.
Closes #6608
Diffstat (limited to 'lib/connect.c')
-rw-r--r-- | lib/connect.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/connect.c b/lib/connect.c index 0bcfac325..6c9464360 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -1448,11 +1448,9 @@ curl_socket_t Curl_getconnectinfo(struct Curl_easy *data, } c = find.found; - if(connp) { + if(connp) /* only store this if the caller cares for it */ *connp = c; - c->data = data; - } return c->sock[FIRSTSOCKET]; } return CURL_SOCKET_BAD; |