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

Diff for /src/usr.bin/tmux/control.c between version 1.20 and 1.21

version 1.20, 2017/01/15 22:00:56 version 1.21, 2019/05/18 21:14:10
Line 70 
Line 70 
 {  {
         char                    *line, *cause;          char                    *line, *cause;
         struct cmd_list         *cmdlist;          struct cmd_list         *cmdlist;
         struct cmd              *cmd;  
         struct cmdq_item        *item;          struct cmdq_item        *item;
   
         if (closed)          if (closed)
Line 90 
Line 89 
                         item = cmdq_get_callback(control_error, cause);                          item = cmdq_get_callback(control_error, cause);
                         cmdq_append(c, item);                          cmdq_append(c, item);
                 } else {                  } else {
                         TAILQ_FOREACH(cmd, &cmdlist->list, qentry)  
                                 cmd->flags |= CMD_CONTROL;  
                         item = cmdq_get_command(cmdlist, NULL, NULL, 0);                          item = cmdq_get_command(cmdlist, NULL, NULL, 0);
                           item->shared->flags |= CMDQ_SHARED_CONTROL;
                         cmdq_append(c, item);                          cmdq_append(c, item);
                         cmd_list_free(cmdlist);                          cmd_list_free(cmdlist);
                 }                  }

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