summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/session.c b/session.c
index 8c0e54f79..18cdfa8cf 100644
--- a/session.c
+++ b/session.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: session.c,v 1.318 2020/01/23 07:10:22 dtucker Exp $ */ 1/* $OpenBSD: session.c,v 1.319 2020/03/13 03:17:07 djm Exp $ */
2/* 2/*
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved 4 * All rights reserved
@@ -1017,7 +1017,7 @@ do_setup_env(struct ssh *ssh, Session *s, const char *shell)
1017 1017
1018#ifdef GSSAPI 1018#ifdef GSSAPI
1019 /* Allow any GSSAPI methods that we've used to alter 1019 /* Allow any GSSAPI methods that we've used to alter
1020 * the childs environment as they see fit 1020 * the child's environment as they see fit
1021 */ 1021 */
1022 ssh_gssapi_do_child(&env, &envsize); 1022 ssh_gssapi_do_child(&env, &envsize);
1023#endif 1023#endif
@@ -2412,7 +2412,7 @@ session_exit_message(struct ssh *ssh, Session *s, int status)
2412 /* 2412 /*
2413 * Adjust cleanup callback attachment to send close messages when 2413 * Adjust cleanup callback attachment to send close messages when
2414 * the channel gets EOF. The session will be then be closed 2414 * the channel gets EOF. The session will be then be closed
2415 * by session_close_by_channel when the childs close their fds. 2415 * by session_close_by_channel when the child sessions close their fds.
2416 */ 2416 */
2417 channel_register_cleanup(ssh, c->self, session_close_by_channel, 1); 2417 channel_register_cleanup(ssh, c->self, session_close_by_channel, 1);
2418 2418