projects
/
ptask.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9554c87
)
recent version of libjson has remove is_error which was checking
master
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Sat, 21 Jul 2018 15:39:19 +0000
(17:39 +0200)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Sat, 21 Jul 2018 15:39:19 +0000
(17:39 +0200)
that the arg is NULL.
src/tw.c
patch
|
blob
|
history
diff --git
a/src/tw.c
b/src/tw.c
index
602f7b3
..
89343a4
100644
(file)
--- a/
src/tw.c
+++ b/
src/tw.c
@@
-163,9
+163,6
@@
static struct json_object *task_exec_json(const char *opts)
free(cmd);
free(cmd);
- if (o && is_error(o))
- return NULL;
-
return o;
}
return o;
}