From 827a184ea907acf9b2b2d72d89ab67572728e11e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicol=C3=A1s=20Dimov?= Date: Sat, 26 Jun 2004 20:46:56 +0000 Subject: [PATCH] el _z estaba alocando mas memoria de la que necesitaba, pero creo que eso no producia errores --- src/mtf/main.c | 5 +++++ src/mtf/mtf.c | 2 +- src/mtf/mtf.h | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mtf/main.c b/src/mtf/main.c index a6f9bda..e0ea0a6 100644 --- a/src/mtf/main.c +++ b/src/mtf/main.c @@ -16,11 +16,16 @@ int main(int argc, char *argv[] ) len = fread(buff, 1, BUFFER_SIZE, stdin); buff[len] = '\0'; pos = jacu_mtf(buff, len, &z, &z_len); + + printf("Z len = %d\n",z_len); + print_z(z, z_len); for(i=0; i