Subject: [libssh2] #176: LIBSSH2_DEBUG macro uses incorrect function variable

[libssh2] #176: LIBSSH2_DEBUG macro uses incorrect function variable

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Tue, 15 Jun 2010 13:53:26 -0000

#176: LIBSSH2_DEBUG macro uses incorrect function variable
------------------------------+---------------------------------------------
 Reporter: john@… | Owner:
     Type: defect | Status: new
 Priority: normal | Milestone: 1.2.6
Component: misc | Version: 1.2.6
 Keywords: | Blocks:
Blocked By: |
------------------------------+---------------------------------------------
 After downloading the latest (10 June 2010) tarball.

 I believe that the LIBSSH2_DEBUG macro, defined in libssh2_priv.h,
 incorrectly uses the function variable ssh_msg_disconnect when it should
 use ssh_msg_debug.

 I have changed by libssh2_priv.h, to provide the following diff

 175c175
 < session->ssh_msg_debug((session), (always_display), (message), \
 ---
> session->ssh_msg_disconnect((session), (always_display), (message),
 \

-- 
Ticket URL: <http://libssh2.stuge.se/ticket/176>
libssh2 <http://libssh2.stuge.se/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-06-15