| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: getting results back into a dynamically allocated buffer...
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 Nov 2000 07:47:17 +0100 (MET)
On Tue, 21 Nov 2000, Michael Mealling wrote:
> This may be a FAQ but here goes:
I think it is about time I add this to the FAQ.
> I'm posting some XML to a server and expecting some XML back. Setting
This is a suggested solution on how it could be done:
struct MemoryStruct {
size_t
mem->memory = (char *)realloc(mem->memory, mem->size + realsize + 1);
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/ _______________________________________________ Curl-library mailing list Curl-library_at_lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/curl-libraryReceived on 2000-11-22 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info