From 85b44630008417e8a866593e0cd66885f797e892 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 13 Apr 2019 02:10:44 +0200 Subject: [PATCH] style --- client/jansson/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/jansson/path.c b/client/jansson/path.c index bafea59ba..f9c3a9117 100644 --- a/client/jansson/path.c +++ b/client/jansson/path.c @@ -182,7 +182,7 @@ int json_path_set_new(json_t *json, const char *path, json_t *value, size_t flag json_array_set(parent, index_saved, value); cursor = json_array_get(parent, index_saved); } else { - jsonp_error_set(error, -1, -1, last_peek - buf, json_error_item_not_found, "invalid path"); + jsonp_error_set(error, -1, -1, 0, json_error_item_not_found, "invalid path"); goto fail; }