aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/getinmemory.c
AgeCommit message (Collapse)Author
2011-03-10sources: update source headersDaniel Stenberg
All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
2010-12-17examples: fix compiler warningsDaniel Stenberg
2010-10-05examples: use example.com in example URLsDaniel Stenberg
2010-09-14getinmemory: make the example easier to followJames Bursa
1. Remove the comment warning that it's "not been verified to work". It works with no problems in my testing. 2. Remove 2 unnecessary includes. 3. Remove the myrealloc(). Initialize chunk.memory with malloc() instead of NULL. The comments for these two parts contradicted each other. 4. Handle out of memory from realloc() instead of continuing. 5. Print a brief status message at the end.
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2008-09-06remove unnecessary typecasting of realloc()Yang Tse
2007-11-07Add a call to curl_global_cleanup to show how to do a proper shutdown.Dan Fandrich
2007-07-16Fixed some more simple compile warnings in the examples.Dan Fandrich
2005-10-10make it compile warning-free and free() the memory before exitDaniel Stenberg
2005-02-04fix typeDaniel Stenberg
2004-11-02modified to not use realloc() on a NULL pointerDaniel Stenberg
2004-05-19language!Daniel Stenberg
2004-05-19Set CURLOPT_USERAGENT tooDaniel Stenberg
2003-12-08use the newer option namesDaniel Stenberg
2003-11-19remove the wrong win32 comment and use global_initDaniel Stenberg
2003-03-10no the data is not freed, this is left for the app to do when neededDaniel Stenberg
2001-05-15this might actually compile too...Daniel Stenberg
2001-05-15an example on how you can use the write callback to receive data in a memoryDaniel Stenberg
chunk