X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/5bf62ffb7054c30de3b8bbf3d18f420f731eb765..d02adaeecaf5e03a84fecc369105cb618a3eb046:/src/mtf/main.c?ds=inline diff --git a/src/mtf/main.c b/src/mtf/main.c index 796950a..e0ea0a6 100644 --- a/src/mtf/main.c +++ b/src/mtf/main.c @@ -11,16 +11,21 @@ int main(int argc, char *argv[] ) char *z, *dato; char *pos; int len; - int i, size; + int i, size, z_len; len = fread(buff, 1, BUFFER_SIZE, stdin); buff[len] = '\0'; - pos = jacu_mtf(buff, len); + pos = jacu_mtf(buff, len, &z, &z_len); + + printf("Z len = %d\n",z_len); + print_z(z, z_len); for(i=0; i