aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-02-03 17:54:27 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2009-02-03 17:54:27 +0000
commit903e22cd1154270f10d765a754cb077df7b87e46 (patch)
treefa46f236f145b23e738866e16b9dfede1abd6153 /libssh
parent0679dd4fd8f9e9b0443f3331739aa9ca79e14bfc (diff)
downloadlibssh-903e22cd1154270f10d765a754cb077df7b87e46.tar.gz
libssh-903e22cd1154270f10d765a754cb077df7b87e46.tar.xz
libssh-903e22cd1154270f10d765a754cb077df7b87e46.zip
added logging for exit-status
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@227 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh')
-rw-r--r--libssh/channels.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/channels.c b/libssh/channels.c
index 2bb7ab9a..33c86407 100644
--- a/libssh/channels.c
+++ b/libssh/channels.c
@@ -296,6 +296,7 @@ static void channel_rcv_request(SSH_SESSION *session){
buffer_get_u8(session->in_buffer,(u8 *)&status);
request=string_to_char(request_s);
if(!strcmp(request,"exit-status")){
+ ssh_log(session,SSH_LOG_PACKET,"received exit-status");
buffer_get_u32(session->in_buffer,&status);
status=ntohl(status);
/* TODO do something with status, we might need it */