diff options
author | Nick White <git@njw.me.uk> | 2012-07-10 23:09:23 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2012-07-10 23:09:23 +0100 |
commit | 80afa0fb239cdc9b593cd61f322b2b916921d68d (patch) | |
tree | ec0f447cf55f9f2e44b34390fca3aa155005f304 /getabook.c | |
parent | 94ec3569e3c42693045ee33c36152526cdf46f78 (diff) |
Make HTTP interface more regular
Diffstat (limited to 'getabook.c')
-rw-r--r-- | getabook.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |