]> git.ipfire.org Git - thirdparty/qemu.git/commit
curl: Keep *socket until the end of curl_sock_cb()
authorMax Reitz <mreitz@redhat.com>
Tue, 10 Sep 2019 12:41:31 +0000 (14:41 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 30 Oct 2019 16:34:26 +0000 (11:34 -0500)
commit78ea94e389b2d503ae9a3023759050fd8072e581
tree1e4fdc0b3aa1a08297bd1a600c52f58bb9239103
parent3648493495f2ecb2df22aa4be396e00077693d79
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>
(cherry picked from commit 007f339b1099af46a008dac438ca0943e31dba72)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/curl.c