summaryrefslogtreecommitdiffstats
path: root/uemis-downloader.c
diff options
context:
space:
mode:
Diffstat (limited to 'uemis-downloader.c')
-rw-r--r--uemis-downloader.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c
index 90f41620d..569f20353 100644
--- a/uemis-downloader.c
+++ b/uemis-downloader.c
@@ -128,11 +128,12 @@ static gboolean uemis_init(const char *path)
if (sscanf(tmp + 1, "%d", &filenr) != 1)
return FALSE;
}
-#if UEMIS_DEBUG > 1
else {
+ filenr = 0;
+#if UEMIS_DEBUG > 1
fprintf(debugfile, "::r req.txt skipped as there were fewer than 5 bytes\n");
- }
#endif
+ }
close (reqtxt_file);
/* It would be nice if we could simply go back to the first set of