diff options
-rw-r--r-- | uemis-downloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c index c1980de4c..16bba7b27 100644 --- a/uemis-downloader.c +++ b/uemis-downloader.c @@ -919,7 +919,7 @@ const char *do_uemis_import(const char *mountpath, short force_download) if (divenr == -1) { offset--; } else { - offset = i - divenr; + offset += i - divenr; } #if UEMIS_DEBUG & 2 fprintf(debugfile, " -> trying again with offset %d\n", offset); |