# | Line 362 | Line 362 | do_transpose(const MEMLOAD *mp) | |
---|---|---|
362 | print_record(rp, j*ni_columns + i); | |
363 | putc(tabEOL[j >= no_columns-1], stdout); | |
364 | } else { /* binary output */ | |
365 | < | fwrite((char *)mp->base + |
365 | > | putbinary((char *)mp->base + |
366 | (n_comp*comp_size)*(j*ni_columns + i), | |
367 | < | n_comp*comp_size, 1, stdout); |
367 | > | comp_size, n_comp, stdout); |
368 | } | |
369 | if (ferror(stdout)) { | |
370 | fprintf(stderr, "Error writing to stdout\n"); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |