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