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
Этот коммит содержится в:
родитель
af637c9e8e
Коммит
507ea1e90f
@ -428,6 +428,9 @@ void packet_parse(SSH_SESSION *session){
|
|||||||
case SSH_SMSG_EXITSTATUS:
|
case SSH_SMSG_EXITSTATUS:
|
||||||
channel_handle1(session,type);
|
channel_handle1(session,type);
|
||||||
return;
|
return;
|
||||||
|
case SSH_MSG_DEBUG:
|
||||||
|
case SSH_MSG_IGNORE:
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
ssh_say(2,"Unexpected message code %d\n",type);
|
ssh_say(2,"Unexpected message code %d\n",type);
|
||||||
}
|
}
|
||||||
@ -461,7 +464,7 @@ void packet_parse(SSH_SESSION *session){
|
|||||||
case SSH2_MSG_DEBUG:
|
case SSH2_MSG_DEBUG:
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
ssh_say(0,"Received unhandled msg %d\n",type);
|
ssh_log(session,SSH_LOG_RARE,"Received unhandled packet %d",type);
|
||||||
}
|
}
|
||||||
#ifdef HAVE_SSH1
|
#ifdef HAVE_SSH1
|
||||||
}
|
}
|
||||||
@ -489,12 +492,11 @@ static int packet_wait1(SSH_SESSION *session,int type,int blocking){
|
|||||||
channel_handle1(session,type);
|
channel_handle1(session,type);
|
||||||
break;
|
break;
|
||||||
case SSH_MSG_DEBUG:
|
case SSH_MSG_DEBUG:
|
||||||
|
case SSH_MSG_IGNORE:
|
||||||
break;
|
break;
|
||||||
/* case SSH2_MSG_CHANNEL_CLOSE:
|
/* case SSH2_MSG_CHANNEL_CLOSE:
|
||||||
packet_parse(session);
|
packet_parse(session);
|
||||||
break;;
|
break;;
|
||||||
case SSH2_MSG_IGNORE:
|
|
||||||
break;
|
|
||||||
*/
|
*/
|
||||||
default:
|
default:
|
||||||
if(type && (type != session->in_packet.type)){
|
if(type && (type != session->in_packet.type)){
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user