Skip to content

Commit

Permalink
enable CURL_PRINTF more
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Dec 8, 2023
1 parent 99c7f5c commit 8467031
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ldap.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ static void _ldap_free_urldesc(LDAPURLDesc *ludp);
_ldap_trace x; \
} while(0)

static void _ldap_trace(const char *fmt, ...);
static void _ldap_trace(const char *fmt, ...) CURL_PRINTF(1, 2);
#else
#define LDAP_TRACE(x) Curl_nop_stmt
#endif
Expand Down
2 changes: 1 addition & 1 deletion tests/server/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "server_setup.h"

char *data_to_hex(char *data, size_t len);
void logmsg(const char *msg, ...);
void logmsg(const char *msg, ...) CURL_PRINTF(1, 2);
long timediff(struct timeval newer, struct timeval older);

#define TEST_DATA_PATH "%s/data/test%ld"
Expand Down

0 comments on commit 8467031

Please sign in to comment.