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 | |
parent | a283f2df1a58d7e83a0b4bffab6bfb7ddac3de1b (diff) | |
download | coreutils-77c9d9a00952a981976e4bc929755bab61d81c68.tar.xz |
(do_decode): Output to parameter OUT, not to stdout.
Diffstat (limited to 'src')
-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) |