#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-develReceived on 2010-06-15