From: Ricardo Markiewicz Date: Tue, 22 Jun 2004 19:42:09 +0000 (+0000) Subject: mas cosas X-Git-Tag: svn_import~84 X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/commitdiff_plain/af65279c5092544998a7a07b364d021bc8d01908 mas cosas --- diff --git a/src/jacu.c b/src/jacu.c index d31c648..d0deb90 100644 --- a/src/jacu.c +++ b/src/jacu.c @@ -96,7 +96,7 @@ int main(int argc, char* argv[]) data = malloc(sizeof(char)*pagesize); /* Reservo lugar tambien para guardar el k y el tamaƱo */ - salida = malloc(sizeof(char)*(pagesize)+sizeof(Uint32)*2); + salida = malloc(sizeof(char)*pagesize+sizeof(Uint32)*2); bs = bs_create(pagesize); fp = fopen(argv[optind], "rb"); @@ -140,8 +140,6 @@ int main(int argc, char* argv[]) if ((len = zg_group(&zg, buff, mtf[j]))) fwrite(buff, 1, len, fp_out); } else { /* Guardo el PageSize */ - //for(j=0; j