projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a283f2d
)
(do_decode): Output to parameter OUT, not to stdout.
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 14 Jul 2006 17:54:54 +0000
(17:54 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 14 Jul 2006 17:54:54 +0000
(17:54 +0000)
src/base64.c
patch
|
blob
|
history
diff --git
a/src/base64.c
b/src/base64.c
index
9fef57c
..
36afbe4
100644
(file)
--- 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,
std
out) < n)
+ if (fwrite (outbuf, 1, n, out) < n)
error (EXIT_FAILURE, errno, _("write error"));
if (!ok)