diff options
Diffstat (limited to 'src/microhttpd/base64.c')
-rw-r--r-- | src/microhttpd/base64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/base64.c b/src/microhttpd/base64.c index 488b2e25..3dc7a142 100644 --- a/src/microhttpd/base64.c +++ b/src/microhttpd/base64.c | |||
@@ -36,7 +36,7 @@ BASE64Decode(const char* src) | |||
36 | return NULL; | 36 | return NULL; |
37 | } | 37 | } |
38 | result = dest = malloc(in_len / 4 * 3 + 1); | 38 | result = dest = malloc(in_len / 4 * 3 + 1); |
39 | if (result == NULL) | 39 | if (NULL == result) |
40 | return NULL; /* out of memory */ | 40 | return NULL; /* out of memory */ |
41 | while (*src) { | 41 | while (*src) { |
42 | char a = base64_digits[(unsigned char)*(src++)]; | 42 | char a = base64_digits[(unsigned char)*(src++)]; |