summaryrefslogtreecommitdiff
path: root/getgbook.c
diff options
context:
space:
mode:
Diffstat (limited to 'getgbook.c')
-rw-r--r--getgbook.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/getgbook.c b/getgbook.c
index 77893f6..2042a75 100644
--- a/getgbook.c
+++ b/getgbook.c
@@ -77,7 +77,8 @@ int getpagelist()
int getpageurls(char *pagecode, char *cookie)
{
char url[URLMAX], code[STRMAX], m[STRMAX];
- char *c = NULL, *d, *p, *q, *buf = NULL;
+ char *c = NULL, *buf = NULL;
+ char *d, *p, *q;
int i, j;
snprintf(url, URLMAX, "/books?id=%s&pg=%s&jscmd=click3&q=subject:a&redir_esc=y", bookid, pagecode);