Module: kamailio
Branch: master
Commit: cad3ae51f25aedb5632d1ee7107dd11997a559c7
URL:
https://github.com/kamailio/kamailio/commit/cad3ae51f25aedb5632d1ee7107dd11…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-02-15T16:16:55+01:00
tls: updates to used log macros
---
Modified: src/modules/tls/tls_bio.c
Modified: src/modules/tls/tls_server.c
---
Diff:
https://github.com/kamailio/kamailio/commit/cad3ae51f25aedb5632d1ee7107dd11…
Patch:
https://github.com/kamailio/kamailio/commit/cad3ae51f25aedb5632d1ee7107dd11…
---
diff --git a/src/modules/tls/tls_bio.c b/src/modules/tls/tls_bio.c
index beb177399d..8fbb53a3b3 100644
--- a/src/modules/tls/tls_bio.c
+++ b/src/modules/tls/tls_bio.c
@@ -39,11 +39,11 @@
#ifdef TLS_BIO_DEBUG
#ifdef __SUNPRO_C
#define TLS_BIO_DBG(...) \
- LOG_(DEFAULT_FACILITY, cfg_get(tls, tls_cfg, debug),\
+ LOG_FP(DEFAULT_FACILITY, cfg_get(tls, tls_cfg, debug),\
"tls_BIO: " LOC_INFO, __VA_ARGS__)
#else
#define TLS_BIO_DBG(args...) \
- LOG_(DEFAULT_FACILITY, cfg_get(tls, tls_cfg, debug),\
+ LOG_FP(DEFAULT_FACILITY, cfg_get(tls, tls_cfg, debug),\
"tls_BIO: " LOC_INFO, ## args)
#endif /* __SUNPRO_c */
#else /* TLS_BIO_DEBUG */
diff --git a/src/modules/tls/tls_server.c b/src/modules/tls/tls_server.c
index 5d3bc94522..9ce1b5e2f3 100644
--- a/src/modules/tls/tls_server.c
+++ b/src/modules/tls/tls_server.c
@@ -90,12 +90,12 @@ int tls_run_event_routes(struct tcp_connection *c);
#ifdef TLS_F_DEBUG
#ifdef __SUNPRO_C
#define TLS_F_TRACE(fmt, ...) \
- LOG_(DEFAULT_FACILITY, cfg_get(tls, tls_cfg, debug),\
+ LOG_FP(DEFAULT_FACILITY, cfg_get(tls, tls_cfg, debug),\
"TLS_TRACE: " LOC_INFO, " %s" fmt,\
_FUNC_NAME_, __VA_ARGS__)
#else
#define TLS_F_TRACE(fmt, args...) \
- LOG_(DEFAULT_FACILITY, cfg_get(tls, tls_cfg, debug),\
+ LOG_FP(DEFAULT_FACILITY, cfg_get(tls, tls_cfg, debug),\
"TLS_TRACE: " LOC_INFO, " %s" fmt,\
_FUNC_NAME_, ## args)
#endif /* __SUNPRO_c */