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

Diff for /src/usr.bin/tmux/cmd-kill-session.c between version 1.26 and 1.27

version 1.26, 2020/04/13 08:26:27 version 1.27, 2020/04/13 10:59:58
Line 45 
Line 45 
 static enum cmd_retval  static enum cmd_retval
 cmd_kill_session_exec(struct cmd *self, struct cmdq_item *item)  cmd_kill_session_exec(struct cmd *self, struct cmdq_item *item)
 {  {
         struct args     *args = cmd_get_args(self);          struct args             *args = cmd_get_args(self);
         struct session  *s, *sloop, *stmp;          struct cmd_find_state   *target = cmdq_get_target(item);
         struct winlink  *wl;          struct session          *s = target->s, *sloop, *stmp;
           struct winlink          *wl;
         s = item->target.s;  
   
         if (args_has(args, 'C')) {          if (args_has(args, 'C')) {
                 RB_FOREACH(wl, winlinks, &s->windows) {                  RB_FOREACH(wl, winlinks, &s->windows) {

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27