[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] curl: Store BDRVCURLState pointer in CURLSocket
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 1/2] curl: Store BDRVCURLState pointer in CURLSocket |
Date: |
Tue, 9 Mar 2021 14:13:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 3/9/21 2:05 PM, Max Reitz wrote:
> 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>
> ---
> block/curl.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>