Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matt Johnston
dropbear
Commits
69a165db
Commit
69a165db
authored
Sep 21, 2013
by
Matt Johnston
Browse files
Only send a failure response to a channel request if wantreply is set.
parent
dffb33ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
cli-chansession.c
View file @
69a165db
...
...
@@ -71,7 +71,9 @@ static void cli_chansessreq(struct Channel *channel) {
TRACE
((
"got exit-signal, ignoring it"
))
}
else
{
TRACE
((
"unknown request '%s'"
,
type
))
send_msg_channel_failure
(
channel
);
if
(
wantreply
)
{
send_msg_channel_failure
(
channel
);
}
goto
out
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment