diff options
Diffstat (limited to 'mux.c')
-rw-r--r-- | mux.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: mux.c,v 1.71 2018/06/09 03:01:12 djm Exp $ */ | 1 | /* $OpenBSD: mux.c,v 1.72 2018/07/09 21:03:30 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -87,7 +87,7 @@ extern Options options; | |||
87 | extern int stdin_null_flag; | 87 | extern int stdin_null_flag; |
88 | extern char *host; | 88 | extern char *host; |
89 | extern int subsystem_flag; | 89 | extern int subsystem_flag; |
90 | extern Buffer command; | 90 | extern struct sshbuf *command; |
91 | extern volatile sig_atomic_t quit_pending; | 91 | extern volatile sig_atomic_t quit_pending; |
92 | 92 | ||
93 | /* Context for session open confirmation callback */ | 93 | /* Context for session open confirmation callback */ |
@@ -1887,7 +1887,7 @@ mux_client_request_session(int fd) | |||
1887 | buffer_put_int(&m, options.escape_char == SSH_ESCAPECHAR_NONE ? | 1887 | buffer_put_int(&m, options.escape_char == SSH_ESCAPECHAR_NONE ? |
1888 | 0xffffffff : (u_int)options.escape_char); | 1888 | 0xffffffff : (u_int)options.escape_char); |
1889 | buffer_put_cstring(&m, term == NULL ? "" : term); | 1889 | buffer_put_cstring(&m, term == NULL ? "" : term); |
1890 | buffer_put_string(&m, buffer_ptr(&command), buffer_len(&command)); | 1890 | buffer_put_string(&m, buffer_ptr(command), buffer_len(command)); |
1891 | 1891 | ||
1892 | /* Pass environment */ | 1892 | /* Pass environment */ |
1893 | if (options.num_send_env > 0 && environ != NULL) { | 1893 | if (options.num_send_env > 0 && environ != NULL) { |