diff options
author | Denys Vlasenko | 2018-02-05 19:06:40 +0100 |
---|---|---|
committer | Denys Vlasenko | 2018-02-05 19:06:40 +0100 |
commit | 5740e15de55baa343955196c641baeaec8a73b5c (patch) | |
tree | 2ced4902289100326e277d479ad52a7223bda47e /networking | |
parent | c2a51b0cf16918482c993c4998a2a920e499a43f (diff) | |
download | busybox-5740e15de55baa343955196c641baeaec8a73b5c.zip busybox-5740e15de55baa343955196c641baeaec8a73b5c.tar.gz |
ftpd: handle restarts past 2147483647 bytes. closes 10741
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ftpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ftpd.c b/networking/ftpd.c index dd0fc4e..8abbf7f 100644 --- a/networking/ftpd.c +++ b/networking/ftpd.c @@ -603,7 +603,7 @@ static void handle_rest(void) { /* When ftp_arg == NULL simply restart from beginning */ - G.restart_pos = G.ftp_arg ? xatoi_positive(G.ftp_arg) : 0; + G.restart_pos = G.ftp_arg ? XATOOFF(G.ftp_arg) : 0; WRITE_OK(FTP_RESTOK); } |