Send proper error messages upon parser failures, use yajl for generating command replies

Fixes: #693
This commit is contained in:
Michael Stapelberg
2012-05-02 22:01:50 +02:00
parent 87cb664236
commit bbe607899c
8 changed files with 192 additions and 108 deletions

View File

@ -49,7 +49,7 @@ void run_assignments(i3Window *window) {
if (command_output->needs_tree_render)
needs_tree_render = true;
free(command_output->json_output);
yajl_gen_free(command_output->json_gen);
}
/* Store that we ran this assignment to not execute it again */