Browse code

kazoo - fix compilation

Luis Azedo authored on 24/02/2015 22:37:32
Showing 1 changed files
... ...
@@ -240,7 +240,7 @@ static int mod_init(void) {
240 240
     }
241 241
 
242 242
     if(kz_timer_ms > 0) {
243
-    	kz_timer_tv.tv_usec = (kz_timer_ms  1000) * 1000;
243
+    	kz_timer_tv.tv_usec = (kz_timer_ms % 1000) * 1000;
244 244
     	kz_timer_tv.tv_sec = kz_timer_ms / 1000;
245 245
     }
246 246