[asterisk-commits] mmichelson: branch 1.4 r77154 - /branches/1.4/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 25 16:52:48 CDT 2007


Author: mmichelson
Date: Wed Jul 25 16:52:47 2007
New Revision: 77154

URL: http://svn.digium.com/view/asterisk?view=rev&rev=77154
Log:
chan->emulate_dtmf_duration is an unsigned int, not a signed int, so use %u instead of %d in the format string


Modified:
    branches/1.4/main/channel.c

Modified: branches/1.4/main/channel.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/channel.c?view=diff&rev=77154&r1=77153&r2=77154
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Wed Jul 25 16:52:47 2007
@@ -2369,7 +2369,7 @@
 							chan->emulate_dtmf_duration = AST_MIN_DTMF_DURATION;
 					} else
 						chan->emulate_dtmf_duration = AST_DEFAULT_EMULATE_DTMF_DURATION;
-					ast_log(LOG_DTMF, "DTMF begin emulation of '%c' with duration %d queued on %s\n", f->subclass, chan->emulate_dtmf_duration, chan->name);
+					ast_log(LOG_DTMF, "DTMF begin emulation of '%c' with duration %u queued on %s\n", f->subclass, chan->emulate_dtmf_duration, chan->name);
 				}
 			} else {
 				struct timeval now = ast_tvnow();




More information about the asterisk-commits mailing list