summaryrefslogtreecommitdiff
path: root/getabook.c
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-07-10 23:09:23 +0100
committerNick White <git@njw.me.uk>2012-07-10 23:09:23 +0100
commit80afa0fb239cdc9b593cd61f322b2b916921d68d (patch)
treeec0f447cf55f9f2e44b34390fca3aa155005f304 /getabook.c
parent94ec3569e3c42693045ee33c36152526cdf46f78 (diff)
Make HTTP interface more regular
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);