summaryrefslogtreecommitdiff
path: root/getabook.c
diff options
context:
space:
mode:
Diffstat (limited to 'getabook.c')
-rw-r--r--getabook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/getabook.c b/getabook.c
index 6ad0ae2..64cb50f 100644
--- a/getabook.c
+++ b/getabook.c
@@ -136,6 +136,7 @@ int getpage(Page *page)
fprintf(stderr, "%d failed\n", page->num);
return 1;
}
+ renameifjpg(path);
printf("%d downloaded\n", page->num);
fflush(stdout);