Index: trunk/src_plugins/io_tedax/io_tedax.c =================================================================== --- trunk/src_plugins/io_tedax/io_tedax.c (revision 727) +++ trunk/src_plugins/io_tedax/io_tedax.c (revision 728) @@ -98,7 +98,7 @@ strcpy(unit, "mm"); for(;;) { - if ((argc = tedax_getline(ctx->f, ctx->buf, sizeof(ctx->buf), ctx->argv, sizeof(ctx->argv))) < 0) + if ((argc = tedax_getline(ctx->f, ctx->buf, sizeof(ctx->buf), ctx->argv, sizeof(ctx->argv) / sizeof(ctx->argv[0]))) < 0) goto err; if (strcmp(argv[0], "end") == 0) {