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

Diff for /src/usr.bin/tmux/server-client.c between version 1.239 and 1.240

version 1.239, 2017/06/13 07:12:33 version 1.240, 2017/07/12 09:07:52
Line 371 
Line 371 
   
         c->flags |= CLIENT_DETACHING;          c->flags |= CLIENT_DETACHING;
         notify_client("client-detached", c);          notify_client("client-detached", c);
         proc_send_s(c->peer, msgtype, s->name);          proc_send(c->peer, msgtype, -1, s->name, strlen(s->name) + 1);
 }  }
   
 /* Execute command to replace a client. */  /* Execute command to replace a client. */
Line 1721 
Line 1721 
         shell = options_get_string(global_s_options, "default-shell");          shell = options_get_string(global_s_options, "default-shell");
         if (*shell == '\0' || areshell(shell))          if (*shell == '\0' || areshell(shell))
                 shell = _PATH_BSHELL;                  shell = _PATH_BSHELL;
         proc_send_s(c->peer, MSG_SHELL, shell);          proc_send(c->peer, MSG_SHELL, -1, shell, strlen(shell) + 1);
   
         proc_kill_peer(c->peer);          proc_kill_peer(c->peer);
 }  }

Legend:
Removed from v.1.239  
changed lines
  Added in v.1.240