Combine code for SSH_CONNECTION and SSH_CLIENT

This commit is contained in:
Matt Johnston
2014-10-21 22:33:49 +08:00
parent 444b15889f
commit 776d908703
2 changed files with 16 additions and 25 deletions

View File

@@ -51,10 +51,10 @@ struct ChanSess {
/* exit details */
struct exitinfo exit;
/* Used to set $SSH_CONNECTION in the child session.
Is only set temporarily before forking */
char *connection_string;
/* These are only set temporarily before forking */
/* Used to set $SSH_CONNECTION in the child session. */
char *connection_string;
/* Used to set $SSH_CLIENT in the child session. */
char *client_string;