_libssh2_packet_add: fix SSH_MSG_DEBUG weirdness

I believe I may have caused this weird typo style error when I cleaned
up this function a while ago. Corrected now.
This commit is contained in:
Daniel Stenberg 2010-12-15 21:57:06 +01:00
parent 121237ce2f
commit 2165ceacd3

View File

@ -531,7 +531,7 @@ _libssh2_packet_add(LIBSSH2_SESSION * session, unsigned char *data,
case SSH_MSG_DEBUG:
if(datalen >= 2) {
int always_display=always_display = data[1];
int always_display= data[1];
if(datalen >= 6) {
message_len = _libssh2_ntohu32(data + 2);