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

Diff for /src/usr.bin/tmux/cmd-wait-for.c between version 1.16 and 1.17

version 1.16, 2016/10/16 19:04:05 version 1.17, 2018/11/07 07:58:16
Line 170 
Line 170 
         struct client           *c = item->client;          struct client           *c = item->client;
         struct wait_item        *wi;          struct wait_item        *wi;
   
         if (c == NULL || c->session != NULL) {          if (c == NULL) {
                 cmdq_error(item, "not able to wait");                  cmdq_error(item, "not able to wait");
                 return (CMD_RETURN_ERROR);                  return (CMD_RETURN_ERROR);
         }          }
Line 198 
Line 198 
 {  {
         struct wait_item        *wi;          struct wait_item        *wi;
   
         if (item->client == NULL || item->client->session != NULL) {          if (item->client == NULL) {
                 cmdq_error(item, "not able to lock");                  cmdq_error(item, "not able to lock");
                 return (CMD_RETURN_ERROR);                  return (CMD_RETURN_ERROR);
         }          }

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17