Set exittype for error exit as well as the error string.

This commit is contained in:
Nicholas Marriott
2009-09-02 20:01:22 +00:00
parent ecffcf1667
commit c23bde74ec
2 changed files with 9 additions and 4 deletions

3
tmux.h
View File

@@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.431 2009-09-02 01:02:44 tcunha Exp $ */
/* $Id: tmux.h,v 1.432 2009-09-02 20:01:22 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -971,6 +971,7 @@ struct client_ctx {
CCTX_EXIT,
CCTX_DIED,
CCTX_SHUTDOWN,
CCTX_ERROR
} exittype;
const char *errstr;
};