Skip to content
Snippets Groups Projects
Commit 427599b4 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix compile issue in previous commit. <blush>

parent a397f493
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2677 passed
......@@ -166,16 +166,15 @@ typedef struct {
} \
} while(0)
#define GCESHL(status, server, sock, host, log_level, sess, action) do { \
char *GCES_estr; \
int GCES_level; \
get_crypt_error_string(status, sess, &GCES_estr, action, &GCES_level); \
if (GCES_estr) { \
if(log_level < startup->tls_error_level) \
log_level = startup->tls_error_level; \
lprintf(log_level, "%04d %s [%s] %s", sock, server, host, GCES_estr); \
free_crypt_attrstr(GCES_estr); \
} \
#define GCESHL(status, server, sock, host, log_level, sess, action) do { \
char *GCES_estr; \
int GCES_level; \
get_crypt_error_string(status, sess, &GCES_estr, action, &GCES_level); \
if (GCES_estr) { \
lprintf((log_level < startup->tls_error_level) ? startup->tls_error_level : log_level \
, "%04d %s [%s] %s", sock, server, host, GCES_estr); \
free_crypt_attrstr(GCES_estr); \
} \
} while(0)
#if defined(__GNUC__) // Catch printf-format errors with lprintf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment