comparison cli-chansession.c @ 835:4095b6d7c9fc ecc

Merge in changes from the past couple of releases
author Matt Johnston <matt@ucc.asn.au>
date Fri, 18 Oct 2013 21:38:01 +0800
parents 7dcb46da72d9 84e4259dae3e
children c19acba28590
comparison
equal deleted inserted replaced
807:75509065db53 835:4095b6d7c9fc
69 TRACE(("got exit-status of '%d'", cli_ses.retval)) 69 TRACE(("got exit-status of '%d'", cli_ses.retval))
70 } else if (strcmp(type, "exit-signal") == 0) { 70 } else if (strcmp(type, "exit-signal") == 0) {
71 TRACE(("got exit-signal, ignoring it")) 71 TRACE(("got exit-signal, ignoring it"))
72 } else { 72 } else {
73 TRACE(("unknown request '%s'", type)) 73 TRACE(("unknown request '%s'", type))
74 send_msg_channel_failure(channel); 74 if (wantreply) {
75 send_msg_channel_failure(channel);
76 }
75 goto out; 77 goto out;
76 } 78 }
77 79
78 out: 80 out:
79 m_free(type); 81 m_free(type);