From: Jean-Philippe Orsini Date: Sat, 21 Jul 2018 15:39:19 +0000 (+0200) Subject: recent version of libjson has remove is_error which was checking X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ptask.git;a=commitdiff_plain;h=db9c7f7e2a7bebd83de857029942ddb5497140ec recent version of libjson has remove is_error which was checking that the arg is NULL. --- diff --git a/src/tw.c b/src/tw.c index 602f7b3..89343a4 100644 --- a/src/tw.c +++ b/src/tw.c @@ -163,9 +163,6 @@ static struct json_object *task_exec_json(const char *opts) free(cmd); - if (o && is_error(o)) - return NULL; - return o; }