Check return value of ftruncate call in http.c
commit0c4f21e452dca5a705c36ca7e363c1a3b3c2a5b8
authorJeff Lasslett <jeff.lasslett@gmail.com>
Mon, 10 Aug 2009 16:05:06 +0000 (11 00:05 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Aug 2009 20:26:18 +0000 (10 13:26 -0700)
tree7be97ff7393e02911da923360494477dda59389d
parentbb99190e27c455867bb364059f9a44c0571fc914
Check return value of ftruncate call in http.c

In new_http_object_request(), check ftruncate() call return value and
handle possible errors.

Signed-off-by: Jeff Lasslett <jeff.lasslett@gmail.com>
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.c