curl: Keep *socket until the end of curl_sock_cb()
commit007f339b1099af46a008dac438ca0943e31dba72
authorMax Reitz <mreitz@redhat.com>
Tue, 10 Sep 2019 12:41:31 +0000 (10 14:41 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 16 Sep 2019 13:31:11 +0000 (16 15:31 +0200)
treed679c6144fd0d7e9cf9967759e71fc5afbe3319e
parent0487861685294660b23bc146e1ebd5304aa8bbe0
curl: Keep *socket until the end of curl_sock_cb()

This does not really change anything, but it makes the code a bit easier
to follow once we use @socket as the opaque pointer for
aio_set_fd_handler().

Cc: qemu-stable@nongnu.org
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190910124136.10565-3-mreitz@redhat.com
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/curl.c