]> git.llucax.com Git - z.facultad/75.06/jacu.git/blobdiff - src/statichuff/main_bychunk.c
Mejor manejo de memoria, still debe haber sus buenos holes en un rato lo reviso con...
[z.facultad/75.06/jacu.git] / src / statichuff / main_bychunk.c
index 43426e841622dae8996fafd6972eacbfef626dcd..12f8028ef5a06d3d506f1e45753bdc16572df44c 100644 (file)
@@ -72,7 +72,7 @@ int main(int argc, char* argv[])
        if (dflag == 1) { 
                /* Init decoder */
                shuff = shuff_init_decoder(argv[optind],NULL);
-               fp = fopen("chunkdump.txt","w");
+               fp = fopen(argv[optind+1],"w");
                
                /* Gimme chunks till last one */
                while (shuff_decode_chunk(shuff,chunk,4,&decoded))