summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/base64.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-07-09 01:08:14 +0000
committermillert <millert@openbsd.org>1997-07-09 01:08:14 +0000
commit58720cefabfdfa87eea4aa3b9f9187c6b282ab9f (patch)
treef182293e2f80c91fed9603a2876cad00234e937b /lib/libc/net/base64.c
parent#include <netgroup.h> (diff)
downloadwireguard-openbsd-58720cefabfdfa87eea4aa3b9f9187c6b282ab9f.tar.xz
wireguard-openbsd-58720cefabfdfa87eea4aa3b9f9187c6b282ab9f.zip
Clean up some -Wall flowers.
Diffstat (limited to 'lib/libc/net/base64.c')
-rw-r--r--lib/libc/net/base64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/base64.c b/lib/libc/net/base64.c
index 59788bee1ba..a2055f5cc3c 100644
--- a/lib/libc/net/base64.c
+++ b/lib/libc/net/base64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: base64.c,v 1.1 1997/03/13 19:07:22 downsj Exp $ */
+/* $OpenBSD: base64.c,v 1.2 1997/07/09 01:08:24 millert Exp $ */
/*
* Copyright (c) 1996 by Internet Software Consortium.
@@ -278,7 +278,7 @@ b64_pton(src, target, targsize)
case 2: /* Valid, means one byte of info */
/* Skip any number of spaces. */
- for (NULL; ch != '\0'; ch = *src++)
+ for (; ch != '\0'; ch = *src++)
if (!isspace(ch))
break;
/* Make sure there is another trailing = sign. */
@@ -293,7 +293,7 @@ b64_pton(src, target, targsize)
* We know this char is an =. Is there anything but
* whitespace after it?
*/
- for (NULL; ch != '\0'; ch = *src++)
+ for (; ch != '\0'; ch = *src++)
if (!isspace(ch))
return (-1);