summaryrefslogtreecommitdiff
path: root/getbnbook.c
diff options
context:
space:
mode:
Diffstat (limited to 'getbnbook.c')
-rw-r--r--getbnbook.c2
1 files changed, 1 insertions, 1 deletions
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;
}