diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-09-02 20:16:29 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-09-02 20:16:29 +0000 |
commit | d33caca6c7e0c416a64dcd839900da03e62c1a1a (patch) | |
tree | d740a5fc4013e1240e5a3edf878e38059c657f28 /tmux.h | |
parent | c23bde74ec034f864410c9b71c3ef72d122df719 (diff) | |
download | rtmux-d33caca6c7e0c416a64dcd839900da03e62c1a1a.tar.gz rtmux-d33caca6c7e0c416a64dcd839900da03e62c1a1a.tar.bz2 rtmux-d33caca6c7e0c416a64dcd839900da03e62c1a1a.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 | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.432 2009-09-02 20:01:22 nicm Exp $ */ +/* $Id: tmux.h,v 1.433 2009-09-02 20:16:29 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -970,8 +970,7 @@ struct client_ctx { CCTX_DETACH, CCTX_EXIT, CCTX_DIED, - CCTX_SHUTDOWN, - CCTX_ERROR + CCTX_SHUTDOWN } exittype; const char *errstr; }; |