From b763ba57f9def056491d0d82099bf4bd414e38f2 Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 28 Jan 2005 16:24:52 +0000 Subject: Now it should work somewhat correctly :-) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@574 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- fxotune.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fxotune.c') diff --git a/fxotune.c b/fxotune.c index 29eaa3b..6b29159 100755 --- a/fxotune.c +++ b/fxotune.c @@ -322,9 +322,9 @@ int main (int argc , char **argv) int len = 0; static char output[255] = ""; snprintf(output, sizeof(output), "%d=%d,%d,%d,%d,%d,%d,%d,%d,%d\n", i+1, - echo_trys[i].acim, echo_trys[i].coef1, echo_trys[i].coef2, - echo_trys[i].coef3, echo_trys[i].coef4, echo_trys[i].coef5, - echo_trys[i].coef6, echo_trys[i].coef7, echo_trys[i].coef8 ); + echo_trys[res].acim, echo_trys[res].coef1, echo_trys[res].coef2, + echo_trys[res].coef3, echo_trys[res].coef4, echo_trys[res].coef5, + echo_trys[res].coef6, echo_trys[res].coef7, echo_trys[res].coef8 ); len = strlen(output); res = write(configfd, output, strlen(output)); -- cgit v1.2.3