summaryrefslogtreecommitdiff
path: root/mailbox/base64.c
diff options
context:
space:
mode:
Diffstat (limited to 'mailbox/base64.c')
-rw-r--r--mailbox/base64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailbox/base64.c b/mailbox/base64.c
index fd0131e02..f70a40baa 100644
--- a/mailbox/base64.c
+++ b/mailbox/base64.c
@@ -88,7 +88,7 @@ mu_base64_decode (const unsigned char *input, size_t input_len,
|| input[2] > 127 || ((input[2] != '=') && (b64val[input[2]] == -1))
|| input[3] > 127 || ((input[3] != '=')
&& (b64val[input[3]] == -1)))
- return -1;
+ return EINVAL;
*out++ = (b64val[input[0]] << 2) | (b64val[input[1]] >> 4);
if (input[2] != '=')
{

Return to:

Send suggestions and report system problems to the System administrator.