mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-05 02:16:49 +00:00
ftpd: handle restarts past 2147483647 bytes. closes 10741
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
c2a51b0cf1
commit
5740e15de5
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user