aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCédric Deltheil <cedric@moodstocks.com>2013-02-24 18:17:30 +0100
committerDaniel Stenberg <daniel@haxx.se>2013-03-09 16:38:18 +0100
commit6645d2ae8f2f813eb2deb908e7b1f6fc9772c2da (patch)
tree1890fd73b6d1b36b1402bf006403a71b1ee23acc /src
parentcb07bca689d4cbb43547daacad9690412d177a6d (diff)
examples/getinmemory.c: abort the transfer if not enough memory
No more use exit(3) but instead tell libcurl that no byte has been written to let it return a `CURLE_WRITE_ERROR`. In addition, check curl easy handle return code.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions