aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test545
diff options
context:
space:
mode:
authorJames Bursa <james@zamez.org>2010-09-14 22:52:04 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-09-14 22:52:04 +0200
commitfbefd816e493a2c690e342bd3e91ce6e5300f31e (patch)
treea6a42eb08b701689c5e2b5d4a9a6724605c48bef /tests/data/test545
parent296b246b9cd1da5d13c56254e1c68914f8756a2e (diff)
getinmemory: make the example easier to follow
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.
Diffstat (limited to 'tests/data/test545')
0 files changed, 0 insertions, 0 deletions