Module: kamailio
Branch: 4.2
Commit: af726efbe52bfa082d4b8060be01b0a69c732b0d
URL:
https://github.com/kamailio/kamailio/commit/af726efbe52bfa082d4b8060be01b0a…
Author: Luis Azedo <luis(a)2600hz.com>
Committer: Luis Azedo <luis(a)2600hz.com>
Date: 2015-02-24T22:38:34Z
kazoo - fix compilation
(cherry picked from commit 12af51df76e779c70470c57ef0b992831441f275)
---
Modified: modules/kazoo/kazoo.c
---
Diff:
https://github.com/kamailio/kamailio/commit/af726efbe52bfa082d4b8060be01b0a…
Patch:
https://github.com/kamailio/kamailio/commit/af726efbe52bfa082d4b8060be01b0a…
---
diff --git a/modules/kazoo/kazoo.c b/modules/kazoo/kazoo.c
index c3f6a00..89484d1 100644
--- a/modules/kazoo/kazoo.c
+++ b/modules/kazoo/kazoo.c
@@ -240,7 +240,7 @@ static int mod_init(void) {
}
if(kz_timer_ms > 0) {
- kz_timer_tv.tv_usec = (kz_timer_ms 1000) * 1000;
+ kz_timer_tv.tv_usec = (kz_timer_ms % 1000) * 1000;
kz_timer_tv.tv_sec = kz_timer_ms / 1000;
}