Re: [PATCH 1/2] curl: Store BDRVCURLState pointer in CURLSocket

2021-03-09 Thread Philippe Mathieu-Daudé
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 > --- > block/curl.c | 8 > 1 file changed, 4 inser

[PATCH 1/2] curl: Store BDRVCURLState pointer in CURLSocket

2021-03-09 Thread Max Reitz
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 --- block/curl.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/block/curl.c