From 507ea1e90f7561c0c3c835d004bacb1b66ee3eeb Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Tue, 17 Jun 2008 00:14:40 +0000 Subject: oops missed a line in the fix git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@173 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/packet.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libssh/packet.c') diff --git a/libssh/packet.c b/libssh/packet.c index eb810fee..f0b4ebb9 100644 --- a/libssh/packet.c +++ b/libssh/packet.c @@ -428,6 +428,9 @@ void packet_parse(SSH_SESSION *session){ case SSH_SMSG_EXITSTATUS: channel_handle1(session,type); return; + case SSH_MSG_DEBUG: + case SSH_MSG_IGNORE: + break; default: ssh_say(2,"Unexpected message code %d\n",type); } @@ -461,7 +464,7 @@ void packet_parse(SSH_SESSION *session){ case SSH2_MSG_DEBUG: return; default: - ssh_say(0,"Received unhandled msg %d\n",type); + ssh_log(session,SSH_LOG_RARE,"Received unhandled packet %d",type); } #ifdef HAVE_SSH1 } @@ -489,12 +492,11 @@ static int packet_wait1(SSH_SESSION *session,int type,int blocking){ channel_handle1(session,type); break; case SSH_MSG_DEBUG: + case SSH_MSG_IGNORE: break; /* case SSH2_MSG_CHANNEL_CLOSE: packet_parse(session); break;; - case SSH2_MSG_IGNORE: - break; */ default: if(type && (type != session->in_packet.type)){ -- cgit v1.2.3