]> granicus.if.org Git - curl/commit
Curl_send/recv_plain: return errno on failure
authorDaniel Stenberg <daniel@haxx.se>
Sun, 5 Dec 2010 21:59:56 +0000 (22:59 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 5 Dec 2010 22:04:11 +0000 (23:04 +0100)
commitc2bfe60086078f1dc079bdcc989bf03bd6b2ee22
treebacfbe9c0cd1b5ec823816d3add2b7d5ddf0f309
parent63598059cd1c558acf545e81625635f80e2b558f
Curl_send/recv_plain: return errno on failure

When send() and recv() fail, we now store the errno value to allow the
app to access it.

Bug: http://curl.haxx.se/bug/view.cgi?id=3128121
Reported by: Yuri
lib/sendf.c