aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknarf <knarf@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2012-12-17 04:02:31 +0000
committerknarf <knarf@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2012-12-17 04:02:31 +0000
commita13fafc0a27a39c028e8613439712efe88886f9f (patch)
tree398fc1740d3ec70cfd3f3b952375bac03c2fa17e
parentfaaa89d036d272585772fd8831311df047be83a4 (diff)
remove unused statement. This had a #define _LIBC before but that should not be necessaryHEADsvnmaster
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@255 1faa4e14-9dd3-4be0-9f0e-ffe519881164
-rw-r--r--src/base64.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/base64.c b/src/base64.c
index 2bb7625..8855f29 100644
--- a/src/base64.c
+++ b/src/base64.c
@@ -277,12 +277,7 @@ int HTTP_b64_pton(const char *src, unsigned char *target, size_t targsize)
case 2: /* Valid, means one byte of info */
/* Skip any number of spaces. */
-#ifdef _LIBC
- /* To avoid warnings. */
for ( ; ch != '\0'; ch = *src++)
-#else
- for (NULL; ch != '\0'; ch = *src++)
-#endif
if (!isspace(ch))
break;
/* Make sure there is another trailing = sign. */
@@ -297,12 +292,7 @@ int HTTP_b64_pton(const char *src, unsigned char *target, size_t targsize)
* We know this char is an =. Is there anything but
* whitespace after it?
*/
-#ifdef _LIBC
- /* To avoid warnings. */
for ( ; ch != '\0'; ch = *src++)
-#else
- for (NULL; ch != '\0'; ch = *src++)
-#endif
if (!isspace(ch))
return (-1);