aboutsummaryrefslogtreecommitdiff
path: root/libssh/packet.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2008-06-12 20:40:43 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2008-06-12 20:40:43 +0000
commitda3d665a13e7989a9cf78d07738a92981f6e3486 (patch)
treed75038a70977204b74b610417379588436001c86 /libssh/packet.c
parentfe51f9c7662b7391f80953bedc4fe61b89013913 (diff)
downloadlibssh-da3d665a13e7989a9cf78d07738a92981f6e3486.tar.gz
libssh-da3d665a13e7989a9cf78d07738a92981f6e3486.tar.xz
libssh-da3d665a13e7989a9cf78d07738a92981f6e3486.zip
begin fixing the ssh_say everywhere
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@167 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/packet.c')
-rw-r--r--libssh/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/packet.c b/libssh/packet.c
index a1b06cd0..295ef13c 100644
--- a/libssh/packet.c
+++ b/libssh/packet.c
@@ -161,7 +161,7 @@ static int packet_read2(SSH_SESSION *session){
packet=malloc(to_be_read);
memcpy(packet,buffer_get_rest(session->in_socket_buffer),to_be_read-current_macsize);
buffer_pass_bytes(session->in_socket_buffer,to_be_read-current_macsize);
- ssh_say(3,"Read a %d bytes packet\n",len);
+ ssh_log(session,SSH_LOG_PACKET,"Read a %d bytes packet",len);
buffer_add_data(session->in_buffer,packet,to_be_read-current_macsize);
free(packet);
}