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

Diff for /src/usr.bin/tmux/cmd.c between version 1.13 and 1.14

version 1.13, 2009/08/08 21:52:43 version 1.14, 2009/08/23 16:45:00
Line 299 
Line 299 
         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

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