aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-02 20:15:49 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-02 20:15:49 +0000
commit459abafcea844ebb2de8cc58761edb84ffa8dec8 (patch)
tree5ef610b4fe942fccf526c539ea4e97d9518a1293 /tmux.h
parent7a4bac82d7d3cc355c92b312fda00fa9523e79f9 (diff)
downloadrtmux-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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 6707f3ff..49851ddf 100644
--- a/tmux.h
+++ b/tmux.h
@@ -973,8 +973,7 @@ struct client_ctx {
CCTX_DETACH,
CCTX_EXIT,
CCTX_DIED,
- CCTX_SHUTDOWN,
- CCTX_ERROR
+ CCTX_SHUTDOWN
} exittype;
const char *errstr;
};