aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/anyauthput.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-06-13 22:32:00 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-06-13 22:32:00 +0200
commit0aedccc18a33a7785350d8d622ef273c727690cf (patch)
treeba4b8515fb0e38faea400c30eb66d69e418bd522 /docs/examples/anyauthput.c
parent85881f9f35832dbd4ef28940267f8fa30cbb867e (diff)
curl_formget: fix FILE * leak
Properly deal with the fact that the last fread() call most probably is a short read, and when using callbacks in fact all calls can be short reads. No longer consider a file read done until it returns a 0 from the read function. Reported by: Aaron Orenstein Bug: http://curl.haxx.se/mail/lib-2011-06/0048.html
Diffstat (limited to 'docs/examples/anyauthput.c')
0 files changed, 0 insertions, 0 deletions