diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-01 10:50:12 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-01 10:50:12 +0000 |
commit | b4c65e41f6020bd74521896a8f9f5673994d55ab (patch) | |
tree | ba841601d265019edc555a9e43f86fdf9a8e6149 /libssh/kex.c | |
parent | 79e9eb53d44d777f2aa094e643cc3ae796e7d4f4 (diff) | |
download | libssh-b4c65e41f6020bd74521896a8f9f5673994d55ab.tar.gz libssh-b4c65e41f6020bd74521896a8f9f5673994d55ab.tar.xz libssh-b4c65e41f6020bd74521896a8f9f5673994d55ab.zip |
Fix build warning.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@318 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/kex.c')
-rw-r--r-- | libssh/kex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libssh/kex.c b/libssh/kex.c index 5f76f47..db86c8c 100644 --- a/libssh/kex.c +++ b/libssh/kex.c @@ -538,7 +538,8 @@ int ssh_get_kex1(SSH_SESSION *session){ enc_session=encrypt_session_key(session,svr,host,server_bits, host_bits); bits=string_len(enc_session)*8 - 7; - ssh_log(session,SSH_LOG_PROTOCOL,"%d bits,%d bytes encrypted session",bits,string_len(enc_session)); + ssh_log(session, SSH_LOG_PROTOCOL, "%d bits, %zu bytes encrypted session", + bits, string_len(enc_session)); bits=htons(bits); /* the encrypted mpint */ buffer_add_data(session->out_buffer,&bits,sizeof(u16)); |