This commit is contained in:
Scott Anderson 2017-05-13 12:56:36 +12:00
parent a2896f33a4
commit f4c90635ff
9 changed files with 20 additions and 19 deletions

View file

@ -315,7 +315,7 @@ void ipc_bar_init(struct bar *bar, const char *bar_id) {
// add bar to the output
struct output *bar_output = new_output(name);
bar_output->idx = i;
list_add(bar->outputs, bar_output);
list_add(bar->outputs, &bar_output);
}
free(res);
json_object_put(outputs);