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

Diff for /src/usr.bin/tmux/server-client.c between version 1.119 and 1.120

version 1.119, 2014/02/23 00:53:06 version 1.120, 2014/04/16 08:02:31
Line 119 
Line 119 
         if (c->flags & CLIENT_CONTROL)          if (c->flags & CLIENT_CONTROL)
                 return (0);                  return (0);
   
           if (strcmp(c->ttyname, "/dev/tty") == 0) {
                   *cause = xstrdup("can't use /dev/tty");
                   return (-1);
           }
   
         if (!(c->flags & CLIENT_TERMINAL)) {          if (!(c->flags & CLIENT_TERMINAL)) {
                 *cause = xstrdup("not a terminal");                  *cause = xstrdup("not a terminal");
                 return (-1);                  return (-1);

Legend:
Removed from v.1.119  
changed lines
  Added in v.1.120