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

Diff for /src/usr.bin/tmux/cmd-new-session.c between version 1.124 and 1.125

version 1.124, 2020/04/09 13:57:18 version 1.125, 2020/04/13 08:26:27
Line 66 
Line 66 
 static enum cmd_retval  static enum cmd_retval
 cmd_new_session_exec(struct cmd *self, struct cmdq_item *item)  cmd_new_session_exec(struct cmd *self, struct cmdq_item *item)
 {  {
         struct args             *args = self->args;          struct args             *args = cmd_get_args(self);
         struct client           *c = item->client;          struct client           *c = item->client;
         struct session          *s, *as, *groupwith;          struct session          *s, *as, *groupwith;
         struct environ          *env;          struct environ          *env;
Line 81 
Line 81 
         enum cmd_retval          retval;          enum cmd_retval          retval;
         struct cmd_find_state    fs;          struct cmd_find_state    fs;
   
         if (self->entry == &cmd_has_session_entry) {          if (cmd_get_entry(self) == &cmd_has_session_entry) {
                 /*                  /*
                  * cmd_find_target() will fail if the session cannot be found,                   * cmd_find_target() will fail if the session cannot be found,
                  * so always return success here.                   * so always return success here.

Legend:
Removed from v.1.124  
changed lines
  Added in v.1.125