aboutsummaryrefslogtreecommitdiff
path: root/lib/strtoofft.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strtoofft.c')
-rw-r--r--lib/strtoofft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strtoofft.c b/lib/strtoofft.c
index 3ab1bfdff..5314fa403 100644
--- a/lib/strtoofft.c
+++ b/lib/strtoofft.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -124,7 +124,7 @@ curlx_strtoll(const char *nptr, char **endptr, int base)
else
value = CURL_LLONG_MAX;
- errno = ERANGE;
+ SET_ERRNO(ERANGE);
}
if (endptr)