Return to cmd-attach-session.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.12, 2010/02/06 22:55:31 | version 1.13, 2010/12/21 22:37:59 | ||
---|---|---|---|
|
|
||
char *overrides, *cause; | char *overrides, *cause; | ||
u_int i; | u_int i; | ||
if (ARRAY_LENGTH(&sessions) == 0) { | if (RB_EMPTY(&sessions)) { | ||
ctx->error(ctx, "no sessions"); | ctx->error(ctx, "no sessions"); | ||
return (-1); | return (-1); | ||
} | } |