summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-09-01 23:36:40 +0000
committerache <ache@FreeBSD.org>2001-09-01 23:36:40 +0000
commit5d356fcfe8cf6a44ca012358b40ed48c447215a3 (patch)
treef8ba653d58d4671d5f5a920e92f36ede99ac84c0 /usr.bin/ftp
parentdf6c6c6c15742570a2b9bea1c40a4060735d3ada (diff)
downloadFreeBSD-src-5d356fcfe8cf6a44ca012358b40ed48c447215a3.zip
FreeBSD-src-5d356fcfe8cf6a44ca012358b40ed48c447215a3.tar.gz
strtol -> strtoll (for off_t file size)
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r--usr.bin/ftp/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c
index c9b4640..0c486af 100644
--- a/usr.bin/ftp/fetch.c
+++ b/usr.bin/ftp/fetch.c
@@ -356,7 +356,7 @@ url_get(origline, proxyenv)
goto improper;
else
*ep = '\0';
- filesize = strtol(cp, &ep, 10);
+ filesize = strtoll(cp, &ep, 10);
if (filesize < 1 || *ep != '\0')
goto improper;
} else
OpenPOWER on IntegriCloud