From 136e4a162059871f9c89f73fb64013050cad7300 Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 17 Jul 2011 17:59:28 +0100 Subject: Remove debugging print statements --- getgbook.c | 3 --- 1 file changed, 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 = '&'; -- cgit v1.2.3