]> git.ipfire.org Git - thirdparty/qemu.git/commit
curl: Store BDRVCURLState pointer in CURLSocket
authorMax Reitz <mreitz@redhat.com>
Tue, 9 Mar 2021 13:05:40 +0000 (14:05 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 19 Mar 2021 09:15:06 +0000 (10:15 +0100)
commit3663dca461131f7c8e58737feba8638e064bb5d4
tree3879ce06ebb0e2f618a9b975c7d2eec7e85639aa
parent1bf26076d677f693dd99a6e8ef2eca69b842d873
curl: Store BDRVCURLState pointer in CURLSocket

A socket does not really belong to any specific state.  We do not need
to store a pointer to "its" state in it, a pointer to the common
BDRVCURLState is sufficient.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210309130541.37540-2-mreitz@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/curl.c