| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: curl_easy_pause bugs
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 4 Sep 2008 09:48:13 +0200 (CEST)
On Wed, 3 Sep 2008, Dan Fandrich wrote:
> Something like this patch is also needed to ensure that data->state.tempwrite
[...]
> But this whole block should probably be rewritten to use realloc().
Right, so I figure this approach is more like it:
Index: lib/easy.c
result = Curl_client_write(data->state.current_conn,
@@ -858,13 +859,13 @@
- free(data->state.tempwrite); /* free the one just cached as it isn't
} while((result == CURLE_OK) && tempsize);
- free(tempwrite); /* this is unconditionally no longer used */
return result;
-- / daniel.haxx.se
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info