Module: kamailio
Branch: master
Commit: c874706539342d2d90e35cdf86fc7433c9b6b312
URL:
https://github.com/kamailio/kamailio/commit/c874706539342d2d90e35cdf86fc743…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-07-01T09:11:12+02:00
xprint: init var to get rid of compile warning
---
Modified: src/modules/xprint/xp_lib.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c874706539342d2d90e35cdf86fc743…
Patch:
https://github.com/kamailio/kamailio/commit/c874706539342d2d90e35cdf86fc743…
---
diff --git a/src/modules/xprint/xp_lib.c b/src/modules/xprint/xp_lib.c
index 9f37c072f5..6368d3fc7e 100644
--- a/src/modules/xprint/xp_lib.c
+++ b/src/modules/xprint/xp_lib.c
@@ -1706,7 +1706,7 @@ int xl_shm_parse_format2(char *s, xl_elog_p *el, xl_parse_cb cb)
int xl_print_log(struct sip_msg* msg, xl_elog_p log, char *buf, int *len)
{
int n, h;
- str tok;
+ str tok = STR_NULL;
xl_elog_p it;
char *cur;