summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <hg@njw.me.uk>2011-07-17 17:59:28 +0100
committerNick White <hg@njw.me.uk>2011-07-17 17:59:28 +0100
commit136e4a162059871f9c89f73fb64013050cad7300 (patch)
tree7c54ee7c2fe76e459055fbf8909032d308ddee11
parent406e02ef3bf9e5f2c357e3dcb450a52d35009c54 (diff)
Remove debugging print statements
-rw-r--r--getgbook.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/getgbook.c b/getgbook.c
index d89dcf2..622243a 100644
--- a/getgbook.c
+++ b/getgbook.c
@@ -52,7 +52,6 @@ Page *getpagedetail(char *bookid, char *pg)
return NULL;
snprintf(m, 80, "\"pid\":\"%s\"", pg);
- printf("looking for the pid %s\n", m);
if((c = strstr(buf,m)) == NULL)
return NULL;
@@ -61,12 +60,10 @@ Page *getpagedetail(char *bookid, char *pg)
page->url[0] = '\0';
page->num = 0;
- printf("looking for the src\n");
if(strncmp(c+strlen(m)+1, "\"src\"", 5) != 0) {
free(buf); return page;
}
- printf("getting the order\n");
for(p=page->url, d=c+strlen(m)+8; *d && *d != '"'; d++, p++) {
if(!strncmp(d, "\\u0026", 6)) {
*p = '&';