summaryrefslogtreecommitdiff
path: root/fxotune.c
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-28 16:24:52 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-28 16:24:52 +0000
commitb763ba57f9def056491d0d82099bf4bd414e38f2 (patch)
treef6082c56ebbf1b43be16085904ee8eaae9f25b71 /fxotune.c
parentb5c2f57347d5e767e7cbc4926b08f9d3a52003be (diff)
Now it should work somewhat correctly :-)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@574 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'fxotune.c')
-rwxr-xr-xfxotune.c6
1 files changed, 3 insertions, 3 deletions
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));