diff options
author | Nick White <hg@njw.me.uk> | 2011-07-17 17:59:28 +0100 |
---|---|---|
committer | Nick White <hg@njw.me.uk> | 2011-07-17 17:59:28 +0100 |
commit | 136e4a162059871f9c89f73fb64013050cad7300 (patch) | |
tree | 7c54ee7c2fe76e459055fbf8909032d308ddee11 | |
parent | 406e02ef3bf9e5f2c357e3dcb450a52d35009c54 (diff) |
Remove debugging print statements
-rw-r--r-- | getgbook.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 = '&'; |