[BACK]Return to cmd-attach-session.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-attach-session.c between version 1.12 and 1.13

version 1.12, 2010/02/06 22:55:31 version 1.13, 2010/12/21 22:37:59
Line 47 
Line 47 
         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);
         }          }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13