curl-library
PATCH: Fix tftp return codes, tsize upload handling.
From: Ben Greear <greearb_at_candelatech.com>
Date: Thu, 04 Mar 2010 14:40:47 -0800
Received on 2010-03-04
Date: Thu, 04 Mar 2010 14:40:47 -0800
The attached patch fixes two problems:
1) Error codes were not properly returned to the main curl code (and on to apps using libcurl).
2) tftp was crapping out when tsize == 0 on upload..but I see no reason to fail to upload
just because the remote file is zero-length. Ignore tsize option on upload.
This applies on top of my previous patch to fix tftp rate limiting.
Thanks,
Ben
-- Ben Greear <greearb_at_candelatech.com> Candela Technologies Inc http://www.candelatech.com
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- text/plain attachment: curl_tftp_err.patch