Mercurial > dropbear
comparison cli-chansession.c @ 219:654bc8327787
merge of 9522146cb07d4576f161fc4567c2c2fbd6f61fbb
and b11630c15bc4d0649dba51c3572cac6f44e0ab0e
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 08 Jul 2005 13:28:03 +0000 |
parents | 161557a9dde8 |
children | 84925eceeb13 |
comparison
equal
deleted
inserted
replaced
218:3ee0c2f85e1e | 219:654bc8327787 |
---|---|
60 int wantreply; | 60 int wantreply; |
61 | 61 |
62 TRACE(("enter cli_chansessreq")) | 62 TRACE(("enter cli_chansessreq")) |
63 | 63 |
64 type = buf_getstring(ses.payload, NULL); | 64 type = buf_getstring(ses.payload, NULL); |
65 wantreply = buf_getbyte(ses.payload); | 65 wantreply = buf_getbool(ses.payload); |
66 | 66 |
67 if (strcmp(type, "exit-status") != 0) { | 67 if (strcmp(type, "exit-status") != 0) { |
68 TRACE(("unknown request '%s'", type)) | 68 TRACE(("unknown request '%s'", type)) |
69 send_msg_channel_failure(channel); | 69 send_msg_channel_failure(channel); |
70 goto out; | 70 goto out; |