version 1.27, 2013/10/10 12:26:34 |
version 1.28, 2013/10/10 12:28:08 |
|
|
continue; |
continue; |
if (c == cmdq->client) |
if (c == cmdq->client) |
continue; |
continue; |
server_write_client(c, MSG_DETACH, NULL, 0); |
server_write_client(c, MSG_DETACH, |
|
c->session->name, |
|
strlen(c->session->name) + 1); |
} |
} |
} |
} |
|
|
|
|
if (rflag) |
if (rflag) |
cmdq->client->flags |= CLIENT_READONLY; |
cmdq->client->flags |= CLIENT_READONLY; |
|
|
if (dflag) |
if (dflag) { |
server_write_session(s, MSG_DETACH, NULL, 0); |
server_write_session(s, MSG_DETACH, s->name, |
|
strlen(s->name) + 1); |
|
} |
|
|
update = options_get_string(&s->options, "update-environment"); |
update = options_get_string(&s->options, "update-environment"); |
environ_update(update, &cmdq->client->environ, &s->environ); |
environ_update(update, &cmdq->client->environ, &s->environ); |