X-Git-Url: http://git.openwrt.org/?p=project%2Fjsonpath.git;a=blobdiff_plain;f=main.c;fp=main.c;h=3166746fd985e58623265d8fcafd6041c84b29b8;hp=ebd52c0cecf0cbb5542cb52ce20a43ec9d6bd150;hb=c0e1d4495a8afe51cc1900269d6a6fcf0b51a761;hpb=f3830138661374ca10fe6a0b6f2f4b949dea3e5c diff --git a/main.c b/main.c index ebd52c0..3166746 100644 --- a/main.c +++ b/main.c @@ -265,7 +265,7 @@ filter_json(int opt, struct json_object *jsobj, char *expr) { fprintf(stderr, "Syntax error near {%s}: %s\n", state ? expr + state->erroff : expr, - state ? state->error : "Out of memory"); + state ? state->error : "Out of memory"); goto out; }