[svn-commits] kpfleming: branch 1.4 r3632 - /branches/1.4/zaptel-base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Jan 9 10:14:30 CST 2008
Author: kpfleming
Date: Wed Jan 9 10:14:29 2008
New Revision: 3632
URL: http://svn.digium.com/view/zaptel?view=rev&rev=3632
Log:
use the proper error code for 'no hardware echo canceler available'
Modified:
branches/1.4/zaptel-base.c
Modified: branches/1.4/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/zaptel-base.c?view=diff&rev=3632&r1=3631&r2=3632
==============================================================================
--- branches/1.4/zaptel-base.c (original)
+++ branches/1.4/zaptel-base.c Wed Jan 9 10:14:29 2008
@@ -4370,7 +4370,7 @@
if (tec)
echo_can_free(tec);
- ret = -ENOTTY;
+ ret = -ENODEV;
/* attempt to use the span's echo canceler; fall back to built-in
if it fails (but not if an error occurs) */
@@ -4385,7 +4385,7 @@
}
}
- if (ret == -ENOTTY) {
+ if (ret == -ENODEV) {
switch (ecp->tap_length) {
case 32:
case 64:
More information about the svn-commits
mailing list