summaryrefslogtreecommitdiff
path: root/getbnbook.c
diff options
context:
space:
mode:
Diffstat (limited to 'getbnbook.c')
-rw-r--r--getbnbook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/getbnbook.c b/getbnbook.c
index 76e3e0e..5254f14 100644
--- a/getbnbook.c
+++ b/getbnbook.c
@@ -83,6 +83,7 @@ int getpage(int pagenum)
fprintf(stderr, "%d failed\n", pagenum);
return 1;
}
+ renameifjpg(path);
printf("%d downloaded\n", pagenum);
fflush(stdout);