[dahdi-commits] kpfleming: branch linux/kpfleming/modular_ec r4395 - /linux/team/kpfleming/mo...
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Wed Jun 18 16:19:31 CDT 2008
Author: kpfleming
Date: Wed Jun 18 16:19:22 2008
New Revision: 4395
URL: http://svn.digium.com/view/dahdi?view=rev&rev=4395
Log:
make ec list reporting work properly
Modified:
linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi-base.c
Modified: linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi-base.c
URL: http://svn.digium.com/view/dahdi/linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi-base.c?view=diff&rev=4395&r1=4394&r2=4395
==============================================================================
--- linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi-base.c (original)
+++ linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi-base.c Wed Jun 18 16:19:22 2008
@@ -3837,13 +3837,13 @@
dahdi_copy_string(vi.version, DAHDI_VERSION, sizeof(vi.version));
read_lock(&echocan_list_lock);
list_for_each_entry(cur, &echocan_list, list) {
- strncat(vi.echo_canceller, cur->ec->name, space);
+ strncat(vi.echo_canceller + strlen(vi.echo_canceller), cur->ec->name, space);
space -= strlen(cur->ec->name);
if (space < 1) {
break;
}
if (cur->list.next && (cur->list.next != &echocan_list)) {
- strncat(vi.echo_canceller, ", ", space);
+ strncat(vi.echo_canceller + strlen(vi.echo_canceller), ", ", space);
space -= 2;
if (space < 1) {
break;
More information about the dahdi-commits
mailing list