aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
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 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index aaf519ead..36fc298d7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1035,7 +1035,7 @@ static int str2offset(curl_off_t *val, char *str)
#endif
/* this is a duplicate of the function that is also used in libcurl */
- *val = strtoofft(str, NULL, 0);
+ *val = curlx_strtoofft(str, NULL, 0);
if ((*val == LLONG_MAX || *val == LLONG_MIN) && errno == ERANGE)
return 1;
@@ -1319,7 +1319,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
{
/* We support G, M, K too */
char *unit;
- curl_off_t value = strtoofft(nextarg, &unit, 0);
+ curl_off_t value = curlx_strtoofft(nextarg, &unit, 0);
switch(nextarg[strlen(nextarg)-1]) {
case 'G':
case 'g':