[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.20 and 1.21

version 1.20, 2020/04/13 10:59:58 version 1.21, 2021/08/20 19:50:17
Line 121 
Line 121 
 cmd_wait_for_exec(struct cmd *self, struct cmdq_item *item)  cmd_wait_for_exec(struct cmd *self, struct cmdq_item *item)
 {  {
         struct args             *args = cmd_get_args(self);          struct args             *args = cmd_get_args(self);
         const char              *name = args->argv[0];          const char              *name = args_string(args, 0);
         struct wait_channel     *wc, wc0;          struct wait_channel     *wc, find;
   
         wc0.name = name;          find.name = name;
         wc = RB_FIND(wait_channels, &wait_channels, &wc0);          wc = RB_FIND(wait_channels, &wait_channels, &find);
   
         if (args_has(args, 'S'))          if (args_has(args, 'S'))
                 return (cmd_wait_for_signal(item, name, wc));                  return (cmd_wait_for_signal(item, name, wc));

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21