ftpd: handle restarts past 2147483647 bytes. closes 10741
No binary (build failed)
—
(log yok)
| @@ -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); | |
| } | |