Commit 08b2a24d authored by Harald Sitter's avatar Harald Sitter 🏳🌈
Browse files

smb: debug the smbc debug level

sometimes I need bug reporters to set a level, but there's no actual
indication if they did that correctly and since there is no GUI there's
ways this can easily go wrong
parent e2028356
......@@ -193,6 +193,7 @@ bool SMBSlave::auth_initialize_smbc()
#ifdef DEPRECATED_SMBC_INTERFACE // defined by libsmbclient.h of Samba 3.2
/* New libsmbclient interface of Samba 3.2 */
qCDebug(KIO_SMB_LOG) << "Setting debug level to:" << debug_level;
smbc_setDebug(smb_context, debug_level);
smbc_setFunctionAuthDataWithContext(smb_context, ::auth_smbc_get_data);
smbc_setOptionUserData(smb_context, this);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment