]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - base64.c
mixer: sleep: Add --initial-mood and --initial-delay.
[paraslash.git] / base64.c
index 7b8fe2920cf6e55fb02a23cb7b57624e3139d587..ac6f65aa85d469df3ba4a70a058ed85b31eb6d11 100644 (file)
--- a/base64.c
+++ b/base64.c
@@ -13,8 +13,6 @@
 #include "base64.h"
 #include "string.h"
 
-static const char Base64[] =
-       "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
 static const unsigned char base64_tab[256] = {
        255, 255, 255, 255, 255, 255, 255, 255, /* 00-07 */
        255, 255, 255, 255, 255, 255, 255, 255, /* 08-0f */
@@ -81,7 +79,7 @@ int base64_decode(char const *src, size_t encoded_size, char **result,
 
        if (encoded_size == (size_t)-1)
                encoded_size = strlen(src);
-       target = para_malloc(BASE64_MAX_DECODED_SIZE(encoded_size) + 1);
+       target = alloc(BASE64_MAX_DECODED_SIZE(encoded_size) + 1);
 
        for (
                i = 0, j = 0, state = 0;