aboutsummaryrefslogtreecommitdiff
path: root/sample.c
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 /sample.c
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 'sample.c')
-rw-r--r--sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample.c b/sample.c
index 94b67172..0f5d1bfc 100644
--- a/sample.c
+++ b/sample.c
@@ -193,7 +193,7 @@ void select_loop(SSH_SESSION *session,CHANNEL *channel){
return;
}
if(lus==0){
- ssh_say(1,"EOF received\n");
+ ssh_log(session,SSH_LOG_RARE,"EOF received\n");
channel_free(channel);
channel=channels[0]=NULL;
} else