[svn-commits] kpfleming: trunk r99920 - /trunk/channels/chan_zap.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jan 23 11:27:06 CST 2008


Author: kpfleming
Date: Wed Jan 23 11:27:05 2008
New Revision: 99920

URL: http://svn.digium.com/view/asterisk?view=rev&rev=99920
Log:
since echo canceler parameters in Zaptel are now signed integers, allow them during parsing

Modified:
    trunk/channels/chan_zap.c

Change Statistics:
 0 files changed

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=99920&r1=99919&r2=99920
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Wed Jan 23 11:27:05 2008
@@ -13100,7 +13100,7 @@
 		strcpy(confp->chan.echocancel.params[confp->chan.echocancel.head.param_count].name, param.name);
 
 		if (param.value) {
-			if (sscanf(param.value, "%ud", &confp->chan.echocancel.params[confp->chan.echocancel.head.param_count].value) != 1) {
+			if (sscanf(param.value, "%d", &confp->chan.echocancel.params[confp->chan.echocancel.head.param_count].value) != 1) {
 				ast_log(LOG_WARNING, "Invalid echocancel parameter value supplied at line %d: '%s'\n", line, param.value);
 				continue;
 			}




More information about the svn-commits mailing list