about summary refs log tree commit diff
path: root/resolv/base64.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/base64.c')
-rw-r--r--resolv/base64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/resolv/base64.c b/resolv/base64.c
index 8b01de33f4..31cd18188f 100644
--- a/resolv/base64.c
+++ b/resolv/base64.c
@@ -280,7 +280,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. */
@@ -295,7 +295,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);