Module: kamailio
Branch: master
Commit: 511b324fc89109de1665144bea0b9162aea35eac
URL:
https://github.com/kamailio/kamailio/commit/511b324fc89109de1665144bea0b916…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-11-02T13:58:07+01:00
statsd: increase buffer for miliseconds printing as function uses 21 size
---
Modified: modules/statsd/statsd.c
---
Diff:
https://github.com/kamailio/kamailio/commit/511b324fc89109de1665144bea0b916…
Patch:
https://github.com/kamailio/kamailio/commit/511b324fc89109de1665144bea0b916…
---
diff --git a/modules/statsd/statsd.c b/modules/statsd/statsd.c
index 72aa708..1a68bea 100644
--- a/modules/statsd/statsd.c
+++ b/modules/statsd/statsd.c
@@ -107,7 +107,7 @@ static int func_set(struct sip_msg* msg, char* key, char* val)
static int func_time_start(struct sip_msg *msg, char *key)
{
int_str avp_key, avp_val;
- char unix_time[20];
+ char unix_time[24];
get_milliseconds(unix_time);
avp_key.s.s = key;
avp_key.s.len = strlen(avp_key.s.s);