diff options
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; |