From 2022ff6ed0202044f1b082a1fbaf78bad20ba597 Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Wed, 24 Feb 2016 14:28:37 +0100 Subject: [PATCH] log failed parsing of http.json --- storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage.c b/storage.c index 5d648a2..4cd778d 100644 --- a/storage.c +++ b/storage.c @@ -1453,7 +1453,7 @@ void extra_http_json(JsonNode *array, char *user, char *device) } if ((node = json_decode(js_string)) == NULL) { - fprintf(stderr, "extra_http_json: can't decode JSON from %s\n", path); + olog(LOG_ERR, "extra_http_json: can't decode JSON from %s", path); free(js_string); return; }