summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-03-13 03:17:07 +0000
committerDamien Miller <djm@mindrot.org>2020-03-14 19:39:09 +1100
commitd081f017c20a3564255873ed99fd7d024cac540f (patch)
tree961bd04b64c3d52803740987a6ab713e3ca6d06b /session.c
parentc084a2d040f160bc2b83f13297e3e3ca3f5dbac6 (diff)
upstream: spelling errors in comments; no code change from
OpenBSD-Commit-ID: 166ea64f6d84f7bac5636dbd38968592cb5eb924
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