From 7495084b1ca58938402dbc24e992b43f9042efb0 Mon Sep 17 00:00:00 2001 From: Will Cosgrove Date: Thu, 23 Jan 2025 08:38:24 -0800 Subject: [PATCH] libssh2_trace.3: Update prototype Return value is int, not void. Reported-by: pyscripter on github Bug: https://github.com/libssh2/libssh2/issues/1517#issuecomment-2608628918 Closes #1518 --- docs/libssh2_trace.3 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/libssh2_trace.3 b/docs/libssh2_trace.3 index c3be3877..ee42250d 100644 --- a/docs/libssh2_trace.3 +++ b/docs/libssh2_trace.3 @@ -7,7 +7,7 @@ libssh2_trace - enable debug info from inside libssh2 .nf #include -void +int libssh2_trace(LIBSSH2_SESSION *session, int bitmask); .fi .SH DESCRIPTION @@ -37,3 +37,5 @@ Error debugging .IP LIBSSH2_TRACE_PUBLICKEY Public Key debugging .RE +.SH RETURN VALUE +Currently always 0, no error.