diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c index 37c63b6f1..06fcbe5b8 100644 --- a/src/main.c +++ b/src/main.c @@ -2505,11 +2505,12 @@ operate(struct Configurable *config, int argc, char *argv[]) struct stat fileinfo; /*VMS?? -- Danger, the filesize is only valid for stream files */ - if(0 == stat(outfile, &fileinfo)) { + if(0 == stat(outfile, &fileinfo)) /* set offset to current file size: */ config->resume_from = fileinfo.st_size; - } - /* else let offset remain 0 */ + else + /* let offset be 0 */ + config->resume_from = 0; } if(config->resume_from) { |