Return to cmd.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.13, 2009/08/08 21:52:43 | version 1.14, 2009/08/23 16:45:00 | ||
---|---|---|---|
|
|
||
u_int i; | u_int i; | ||
int found; | int found; | ||
if (ctx->cursession != NULL) | if (ctx->curclient != NULL && ctx->curclient->session != NULL) | ||
return (ctx->cursession); | return (ctx->curclient->session); | ||
/* | /* | ||
* If the name of the calling client's pty is know, build a list of the | * If the name of the calling client's pty is know, build a list of the |