Add a cmdq_continue function rather than twiddling the flag directly.

This commit is contained in:
nicm
2019-06-18 11:08:42 +00:00
parent 03da0ced46
commit 9272fe36e2
10 changed files with 19 additions and 11 deletions

View File

@ -176,7 +176,7 @@ cmd_load_buffer_callback(struct client *c, int closed, void *data)
free(cause);
}
out:
cdata->item->flags &= ~CMDQ_WAITING;
cmdq_continue(cdata->item);
free(cdata->bufname);
free(cdata);