summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--getabook.c2
-rw-r--r--getbnbook.c2
-rw-r--r--getgbook.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/getabook.c b/getabook.c
index 2712cc8..524fd20 100644
--- a/getabook.c
+++ b/getabook.c
@@ -163,7 +163,7 @@ int main(int argc, char *argv[])
bookdir = argv[argc-1];
pages = malloc(sizeof(*pages) * MAXPAGES);
- if(getpagelist(bookid, pages)) {
+ if(getpagelist()) {
fprintf(stderr, "Could not find any pages for %s\n", bookid);
return 1;
}
diff --git a/getbnbook.c b/getbnbook.c
index d228069..720605d 100644
--- a/getbnbook.c
+++ b/getbnbook.c
@@ -114,7 +114,7 @@ int main(int argc, char *argv[])
if(get("www.barnesandnoble.com", "/", NULL, cookies, &tmp))
free(tmp);
- if(getpagelist(bookid, pages)) {
+ if(getpagelist()) {
fprintf(stderr, "Could not find any pages for %s\n", bookid);
return 1;
}
diff --git a/getgbook.c b/getgbook.c
index 660a1f6..77893f6 100644
--- a/getgbook.c
+++ b/getgbook.c
@@ -192,7 +192,7 @@ int main(int argc, char *argv[])
bookdir = argv[argc-1];
pages = malloc(sizeof(*pages) * MAXPAGES);
- if(getpagelist(bookid, pages)) {
+ if(getpagelist()) {
fprintf(stderr, "Could not find any pages for %s\n", bookid);
return 1;
}