Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2017-01-13 14:01:13 +00:00
9 changed files with 31 additions and 29 deletions

View File

@ -294,12 +294,13 @@ server_client_detach(struct client *c, enum msgtype msgtype)
proc_send_s(c->peer, msgtype, s->name);
}
/* Execute command to replace a client, */
/* Execute command to replace a client. */
void
server_client_exec(struct client *c, const char *cmd)
{
struct session *s = c->session;
char *msg, *shell;
char *msg;
const char *shell;
size_t cmdsize, shellsize;
if (*cmd == '\0')