diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-23 17:27:05 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-23 17:27:05 +0000 |
commit | 325a8f9739614d9d79ecc5f4528333ff0bf398ab (patch) | |
tree | 5905be12947671561b8bcc35883fa609e4551200 | |
parent | 2905458eaf7679c91db4c6e1c6a32d7ca3b2c91e (diff) |
since echo canceler parameters in Zaptel are now signed integers, allow them during parsing
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99920 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index bce608c91..1bb4955de 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -13100,7 +13100,7 @@ static void process_echocancel(struct zt_chan_conf *confp, const char *data, uns 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; } |