summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2020-08-12 13:26:18 +0200
committerStefan Metzmacher <metze@samba.org>2020-09-03 13:34:10 +0000
commit4a4af2c2534ca1a8d31f448bcc1a2fa15c8509ac (patch)
tree498b84f466b1a8d02441692af9c12b85f953a0a9
parent4f695a620550ba8ef32436b1a142e49e56450044 (diff)
downloadsamba-4a4af2c2534ca1a8d31f448bcc1a2fa15c8509ac.tar.gz
tldap: Add PRINTF_ATTRIBUTE declaration to tldap_debug()
Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit a2b281bed022c04427ef478529462ff84fe42908)
-rw-r--r--source3/lib/tldap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c
index 52012ab9a55..af6959ee895 100644
--- a/source3/lib/tldap.c
+++ b/source3/lib/tldap.c
@@ -133,6 +133,11 @@ void tldap_set_debug(struct tldap_context *ld,
ld->log_private = log_private;
}
+static void tldap_debug(
+ struct tldap_context *ld,
+ enum tldap_debug_level level,
+ const char *fmt, ...) PRINTF_ATTRIBUTE(3,4);
+
static void tldap_debug(struct tldap_context *ld,
enum tldap_debug_level level,
const char *fmt, ...)