Yodiwo / YodiwoPlegma
Revision:
4:073e23f6718c
Parent:
3:96b08b5f998f
Child:
6:4596aaa1a824
diff -r 96b08b5f998f -r 073e23f6718c yodiwo_helpers.c
--- a/yodiwo_helpers.c	Tue Sep 15 10:21:40 2015 +0000
+++ b/yodiwo_helpers.c	Tue Sep 15 14:39:13 2015 +0000
@@ -25,7 +25,7 @@
 	/* Loop over all keys of the root object */
 	for (tokIndex = 1; tokIndex < tokSize; tokIndex++) {
 		jsmntok_t *tok = &t[tokIndex];
-		printf("Type: %d \n", t[tokIndex + 1].type);
+//		printf("Type: %d \n", t[tokIndex + 1].type);
 
 		// Scan the match table
 		for (i = 0; i < tableSize; i++) {
@@ -72,8 +72,6 @@
 {
 	int s = t->end - t->start;
 	int escaped = count_escaped(&json[t->start], s);
-	printf("total: %d\n", s);
-	printf("escaped: %d\n", escaped);
 	*result = os_zmalloc(sizeof(char)*(s - escaped + 1));
 	if (*result != NULL)
 		memcpy_unescaped(*result, &json[t->start], s);