Fix build warnings found with printf checking of ssh_set_error().

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@405 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
Andreas Schneider
2009-04-05 10:43:59 +00:00
parent 2aeeb5a518
commit 8253e2170e
3 changed files with 9 additions and 4 deletions

View File

@@ -79,7 +79,8 @@ static int packet_read2(SSH_SESSION *session){
len=packet_decrypt_len(session,buffer);
buffer_add_data(session->in_buffer,buffer,blocksize);
if(len> MAX_PACKET_LEN){
ssh_set_error(session,SSH_FATAL,"read_packet(): Packet len too high(%uld %.8lx)",len,len);
ssh_set_error(session, SSH_FATAL,
"read_packet(): Packet len too high(%u %.4x)", len, len);
leave_function();
return SSH_ERROR;
}