diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-07-23 13:25:27 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-07-23 13:25:27 +0000 |
commit | f2451c1e29d60b505855d7b0ca2077e2ae3e1dc8 (patch) | |
tree | 3331be6d3450187f2e7bfd7b51447073d6b9e614 /tmux.h | |
parent | a551ff2b1befc91e17bc73b478da52342a56815e (diff) | |
download | rtmux-f2451c1e29d60b505855d7b0ca2077e2ae3e1dc8.tar.gz rtmux-f2451c1e29d60b505855d7b0ca2077e2ae3e1dc8.tar.bz2 rtmux-f2451c1e29d60b505855d7b0ca2077e2ae3e1dc8.zip |
Sync OpenBSD patchset 168:
Both of cmdclient and curclient CAN be NULL - if the command is executed from
the configuration file. In this case, attach-session can't do much, and
new-session should just assume -d.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.386 2009-07-23 13:10:38 tcunha Exp $ */ +/* $Id: tmux.h,v 1.387 2009-07-23 13:25:27 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -861,7 +861,8 @@ struct cmd_ctx { * cmdclient is the client which sent the MSG_COMMAND to the server, if * any. This is NULL unless the command came from the command-line. * - * One of curclient or cmdclient is always NULL and the other not. + * cmdclient and curclient may both be NULL if the command is in the + * configuration file. */ struct client *curclient; struct session *cursession; |