mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-20 02:42:09 +03:00
Use LIBSSH2_TRACE_* internally and remove redundant LIBSSH2_DBG_*
This commit is contained in:
@@ -336,7 +336,7 @@ _libssh2_debug(LIBSSH2_SESSION * session, int context, const char *format, ...)
|
||||
if (context < 1 || context >= (int)ARRAY_SIZE(contexts)) {
|
||||
context = 0;
|
||||
}
|
||||
if (!(session->showmask & (1 << context))) {
|
||||
if (!(session->showmask & context)) {
|
||||
/* no such output asked for */
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user