Use fout, fin (Mustafa Dogan)
This commit is contained in:
parent
284686b53f
commit
41f9170c74
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: base64.c,v 1.2 2018/07/25 03:45:34 christos Exp $ */
|
||||
/* $NetBSD: base64.c,v 1.3 2020/08/14 13:40:25 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2018 The NetBSD Foundation, Inc.
|
||||
@ -30,7 +30,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: base64.c,v 1.2 2018/07/25 03:45:34 christos Exp $");
|
||||
__RCSID("$NetBSD: base64.c,v 1.3 2020/08/14 13:40:25 christos Exp $");
|
||||
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
@ -226,9 +226,9 @@ doit(FILE *fout, FILE *fin, bool decode, bool ignore, size_t wrap)
|
||||
int e;
|
||||
|
||||
if (decode)
|
||||
e = b64_decode(stdout, stdin, ignore);
|
||||
e = b64_decode(fout, fin, ignore);
|
||||
else
|
||||
e = b64_encode(stdout, stdin, wrap);
|
||||
e = b64_encode(fout, fin, wrap);
|
||||
|
||||
if (e == 0)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user