From cf1f46e1ca001dcab81e9116712c3eefefc03fd7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 7 Apr 2004 07:30:40 +0000 Subject: renamed the strtoofft() macro to curlx_strtoofft() to adjust to the curlx_* concept, and added lib/README.curlx to explain details about it --- lib/transfer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/transfer.c') 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 */ -- cgit v1.2.3