summaryrefslogtreecommitdiff
path: root/getabook.c
diff options
context:
space:
mode:
Diffstat (limited to 'getabook.c')
-rw-r--r--getabook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getabook.c b/getabook.c
index 0ad6944..d923029 100644
--- a/getabook.c
+++ b/getabook.c
@@ -114,7 +114,7 @@ int getpageurls(int pagenum) {
strncpy(url, "/gp/search-inside/service-data", URLMAX);
snprintf(query, URLMAX, "method=goToPage&asin=%s&page=%d", bookid, pagenum);
- if(!post("www.amazon.com", url, query, &buf))
+ if(!post("www.amazon.com", url, NULL, NULL, query, &buf))
return 1;
fillurls(buf);