aboutsummaryrefslogtreecommitdiff
path: root/redist
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2018-03-18 22:00:55 -0400
committercnlohr <lohr85@gmail.com>2018-03-18 22:00:55 -0400
commit0996cfcee351bfd665f48a205d2f7fe37dec336c (patch)
tree578b865dc5037d5dbaa074458d7c0b542550e914 /redist
parentc44cca299fbea4196af125dfedd8e4d60f3ae0cc (diff)
downloadlibsurvive-0996cfcee351bfd665f48a205d2f7fe37dec336c.tar.gz
libsurvive-0996cfcee351bfd665f48a205d2f7fe37dec336c.tar.bz2
Fix configuration system and fix race condition in survive_vive.
Diffstat (limited to 'redist')
-rw-r--r--redist/json_helpers.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/redist/json_helpers.c b/redist/json_helpers.c
index 8704a93..ebacd2c 100644
--- a/redist/json_helpers.c
+++ b/redist/json_helpers.c
@@ -188,7 +188,6 @@ void json_load_file(const char* path) {
if (value_t->type == JSMN_ARRAY) {
i += json_load_array(JSON_STRING, tokens+i+2,value_t->size, tag); //look at array children
} else if (value_t->type == JSMN_OBJECT) {
- printf("Begin Object\n");
if (json_begin_object != NULL) json_begin_object(tag);
children = (int16_t)(value_t->size +1); //+1 to account for this loop where we are not yed parsing children
// i += decode_jsmn_object(JSON_STRING, tokens+i+2,value_t->size);
@@ -200,7 +199,6 @@ void json_load_file(const char* path) {
if (children>=0) children--;
if (children == 0) {
children = -1;
- printf("End Object\n");
if (json_end_object!=NULL) json_end_object();
}