From 2165ceacd37d266fecb3d1298ea260ce0e334267 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 15 Dec 2010 21:57:06 +0100 Subject: [PATCH] _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. --- src/packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packet.c b/src/packet.c index 466a462..35c3c84 100644 --- a/src/packet.c +++ b/src/packet.c @@ -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);