summaryrefslogtreecommitdiff
path: root/comms/asterisk/patches/patch-addons_chan__ooh323.c
blob: 83855363dd6b3ee130ce94a66b993bb456f736c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-addons_chan__ooh323.c,v 1.1 2015/05/19 07:52:14 jnemeth Exp $

--- addons/chan_ooh323.c.orig	2014-10-15 09:02:50.000000000 +0000
+++ addons/chan_ooh323.c
@@ -3950,7 +3950,7 @@ static void *do_monitor(void *data)
 				h323->lastrtprx + h323->rtptimeout < t) {
 				if (!ast_channel_trylock(h323->owner)) {
 					ast_softhangup_nolock(h323->owner, AST_SOFTHANGUP_DEV);
-					ast_log(LOG_NOTICE, "Disconnecting call '%s' for lack of RTP activity in %ld seconds\n", ast_channel_name(h323->owner), (long) (t - h323->lastrtprx));
+					ast_log(LOG_NOTICE, "Disconnecting call '%s' for lack of RTP activity in %jd seconds\n", ast_channel_name(h323->owner), (intmax_t) (t - h323->lastrtprx));
 					ast_channel_unlock(h323->owner);
 				}