mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Remove the code which has restart looking at the modtime. That's just
moronic! We don't care about the time in restart mode, only the size. It's *mirror* mode which cares about modtimes.
This commit is contained in:
parent
a77d162973
commit
f7c176c92b
1 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/* $Id: main.c,v 1.19 1996/08/23 06:21:17 jkh Exp $ */
|
||||
/* $Id: main.c,v 1.20 1996/08/31 22:03:05 jkh Exp $ */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
|
@ -319,7 +319,7 @@ ftpget()
|
|||
return;
|
||||
}
|
||||
else if (restart) {
|
||||
if (size0 && size0 < size && modtime == t)
|
||||
if (size0 && size0 < size)
|
||||
seekloc = size0;
|
||||
else
|
||||
seekloc = size0 = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue