diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-14 17:54:54 +0000 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-14 17:54:54 +0000 |
| commit | 77c9d9a00952a981976e4bc929755bab61d81c68 (patch) | |
| tree | 207d9366ecb094e7beb90a1f9c119d1d3810c1b9 /src/base64.c | |
| parent | * Makefile.maint (CVS_LIST): Use new file, build-aux/vc-list-files, (diff) | |
| download | coreutils-77c9d9a00952a981976e4bc929755bab61d81c68.tar.gz coreutils-77c9d9a00952a981976e4bc929755bab61d81c68.zip | |
(do_decode): Output to parameter OUT, not to stdout.
Diffstat (limited to 'src/base64.c')
| -rw-r--r-- | src/base64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base64.c b/src/base64.c index 9fef57c2d..36afbe4df 100644 --- a/src/base64.c +++ b/src/base64.c @@ -214,7 +214,7 @@ do_decode (FILE *in, FILE *out, bool ignore_garbage) n = BLOCKSIZE; ok = base64_decode (inbuf, sum, outbuf, &n); - if (fwrite (outbuf, 1, n, stdout) < n) + if (fwrite (outbuf, 1, n, out) < n) error (EXIT_FAILURE, errno, _("write error")); if (!ok) |
