summaryrefslogtreecommitdiff
path: root/debian/patches/05_external-yajl.diff
blob: b77135af1aeff9dcd921b57bf7ec70e03b3afcfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/jcnf/jcnf.c
+++ b/jcnf/jcnf.c
@@ -989,14 +989,15 @@ static jc_error jcnf_write(
 			}
 		}
 
+#ifdef NEVER
 		if (p->keys[i]->cpp_comment != NULL) {
 			yajl_gen_cpp_comment(g, p->keys[i]->cpp_comment, strlen(p->keys[i]->cpp_comment));
 		}
+
 		if (p->keys[i]->c_comment != NULL) {
 			yajl_gen_c_comment(g, p->keys[i]->c_comment, strlen(p->keys[i]->c_comment), 1);
 		}
 
-#ifdef NEVER
 		yajl_gen_map_open(g);
 		yajl_gen_string(g, "test", strlen("test"));
 		yajl_gen_string(g, "test value", strlen("test value"));