diff options
-rw-r--r-- | session.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: session.c,v 1.312 2019/01/19 21:41:53 djm Exp $ */ | 1 | /* $OpenBSD: session.c,v 1.313 2019/02/05 11:35:56 dtucker 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 |
@@ -545,7 +545,7 @@ do_exec_no_pty(struct ssh *ssh, Session *s, const char *command) | |||
545 | * Enter the interactive session. Note: server_loop must be able to | 545 | * Enter the interactive session. Note: server_loop must be able to |
546 | * handle the case that fdin and fdout are the same. | 546 | * handle the case that fdin and fdout are the same. |
547 | */ | 547 | */ |
548 | session_set_fds(s, inout[1], inout[1], err[1], | 548 | session_set_fds(ssh, s, inout[1], inout[1], err[1], |
549 | s->is_subsystem, 0); | 549 | s->is_subsystem, 0); |
550 | #endif | 550 | #endif |
551 | return 0; | 551 | return 0; |