aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-07 07:30:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-07 07:30:40 +0000
commitcf1f46e1ca001dcab81e9116712c3eefefc03fd7 (patch)
tree1e80b81b7bf5203a2a7ca818e3d17fcb93bca50c /lib/transfer.c
parentf052cbee1999a9dce6954efd466fd16c223c16a7 (diff)
renamed the strtoofft() macro to curlx_strtoofft() to adjust to the curlx_*
concept, and added lib/README.curlx to explain details about it
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 82c367978..4d5577a05 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -651,7 +651,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
info about the true size of the document we didn't get now. */
if ((k->httpcode != 416) &&
checkprefix("Content-Length:", k->p)) {
- contentlength = strtoofft(k->p+15, NULL, 10);
+ contentlength = curlx_strtoofft(k->p+15, NULL, 10);
if (data->set.max_filesize && contentlength >
data->set.max_filesize) {
failf(data, "Maximum file size exceeded");
@@ -784,7 +784,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
/* stupid colon skip */
ptr++;
- k->offset = strtoofft(ptr, NULL, 10);
+ k->offset = curlx_strtoofft(ptr, NULL, 10);
if (conn->resume_from == k->offset)
/* we asked for a resume and we got it */