summaryrefslogtreecommitdiffhomepage
path: root/cli-chansession.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-10-18 21:38:01 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-10-18 21:38:01 +0800
commit45bd0edae52c07daa2d54ca7f7c0a57d51130791 (patch)
tree38ab731e4c38f1e287c187a9ca14ea73a92f9434 /cli-chansession.c
parentaafeebd0c841494e4f7315890bc97ed0daf99cbd (diff)
parent3d733a16e9ee856a45a1fbd9a1b48005d78063f9 (diff)
Merge in changes from the past couple of releases
--HG-- branch : ecc
Diffstat (limited to 'cli-chansession.c')
-rw-r--r--cli-chansession.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli-chansession.c b/cli-chansession.c
index 37aa13d..b30fe43 100644
--- a/cli-chansession.c
+++ b/cli-chansession.c
@@ -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;
}