diff options
author | 2019-06-18 11:08:42 +0000 | |
---|---|---|
committer | 2019-06-18 11:08:42 +0000 | |
commit | 780ca620f1c716c2970da67fa9e9172129a7e3d1 (patch) | |
tree | 044e1e90945d435fef72b6aaed82bd82899f9fce /usr.bin/tmux/cmd-load-buffer.c | |
parent | Ensure the length passed to ffs_truncate() is within bounds before calling (diff) | |
download | wireguard-openbsd-780ca620f1c716c2970da67fa9e9172129a7e3d1.tar.xz wireguard-openbsd-780ca620f1c716c2970da67fa9e9172129a7e3d1.zip |
Add a cmdq_continue function rather than twiddling the flag directly.
Diffstat (limited to 'usr.bin/tmux/cmd-load-buffer.c')
-rw-r--r-- | usr.bin/tmux/cmd-load-buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-load-buffer.c b/usr.bin/tmux/cmd-load-buffer.c index 13e7ff56511..0f4622058ac 100644 --- a/usr.bin/tmux/cmd-load-buffer.c +++ b/usr.bin/tmux/cmd-load-buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-load-buffer.c,v 1.55 2019/06/13 21:44:13 nicm Exp $ */ +/* $OpenBSD: cmd-load-buffer.c,v 1.56 2019/06/18 11:08:42 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -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); |