[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.4 and 1.5

version 1.4, 2009/07/17 15:03:11 version 1.5, 2009/07/23 12:33:48
Line 55 
Line 55 
         if ((s = cmd_find_session(ctx, data->target)) == NULL)          if ((s = cmd_find_session(ctx, data->target)) == NULL)
                 return (-1);                  return (-1);
   
           if (ctx->cmdclient == NULL && ctx->curclient == NULL)
                   return (0);
   
         if (ctx->cmdclient == NULL) {          if (ctx->cmdclient == NULL) {
                 if (data->chflags & CMD_CHFLAG('d')) {                  if (data->chflags & CMD_CHFLAG('d')) {
                         /*                          /*

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5