summaryrefslogtreecommitdiff
path: root/getgbook.c
diff options
context:
space:
mode:
Diffstat (limited to 'getgbook.c')
-rw-r--r--getgbook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/getgbook.c b/getgbook.c
index 5f0a0ae..cd12c86 100644
--- a/getgbook.c
+++ b/getgbook.c
@@ -52,6 +52,7 @@ Page *getpagedetail(char *bookid, char *pg, char *cookie)
*p = *d;
}
strncpy(p, "&q=subject:a", 12);
+ *(p+12) = '\0';
} else
d=c;