From: Volker Lendecke Date: Wed, 12 Aug 2020 11:26:18 +0000 (+0200) Subject: tldap: Add PRINTF_ATTRIBUTE declaration to tldap_debug() X-Git-Tag: samba-4.11.14~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3b951241cfe6e325741be9b8dd6dd89f54ab7a1;p=thirdparty%2Fsamba.git tldap: Add PRINTF_ATTRIBUTE declaration to tldap_debug() Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465 Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher (cherry picked from commit a2b281bed022c04427ef478529462ff84fe42908) --- 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, ...)