[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.19 and 1.20

version 1.19, 2020/04/13 08:26:27 version 1.20, 2020/04/13 10:59:58
Line 167 
Line 167 
 cmd_wait_for_wait(struct cmdq_item *item, const char *name,  cmd_wait_for_wait(struct cmdq_item *item, const char *name,
     struct wait_channel *wc)      struct wait_channel *wc)
 {  {
         struct client           *c = item->client;          struct client           *c = cmdq_get_client(item);
         struct wait_item        *wi;          struct wait_item        *wi;
   
         if (c == NULL) {          if (c == NULL) {
Line 198 
Line 198 
 {  {
         struct wait_item        *wi;          struct wait_item        *wi;
   
         if (item->client == NULL) {          if (cmdq_get_client(item) == 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.19  
changed lines
  Added in v.1.20