diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-09-02 20:15:49 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-09-02 20:15:49 +0000 |
commit | 459abafcea844ebb2de8cc58761edb84ffa8dec8 (patch) | |
tree | 5ef610b4fe942fccf526c539ea4e97d9518a1293 /tmux.h | |
parent | 7a4bac82d7d3cc355c92b312fda00fa9523e79f9 (diff) | |
download | rtmux-459abafcea844ebb2de8cc58761edb84ffa8dec8.tar.gz rtmux-459abafcea844ebb2de8cc58761edb84ffa8dec8.tar.bz2 rtmux-459abafcea844ebb2de8cc58761edb84ffa8dec8.zip |
That was the wrong fix. MSG_ERROR should set the error and the client should
use the error and exit on MSG_EXIT (it was being handled in the default
case). Undo the last change, move the errstr check into the MSG_EXIT case, and
add a comment.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -973,8 +973,7 @@ struct client_ctx { CCTX_DETACH, CCTX_EXIT, CCTX_DIED, - CCTX_SHUTDOWN, - CCTX_ERROR + CCTX_SHUTDOWN } exittype; const char *errstr; }; |