projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
please, libidn has not changed in years now
[apps/madmutt.git]
/
base64.c
diff --git
a/base64.c
b/base64.c
index
728171b
..
a5e6cf3
100644
(file)
--- a/
base64.c
+++ b/
base64.c
@@
-43,12
+43,13
@@
# include "config.h"
#endif
# include "config.h"
#endif
+#include <lib-mime/mime.h>
+
#include "mutt.h"
#include "mutt.h"
-#include "mime.h"
/* raw bytes to null-terminated base 64 string */
/* raw bytes to null-terminated base 64 string */
-void mutt_to_base64 (unsigned char *out, const unsigned char *in, size_t len,
- size_t olen)
+void mutt_to_base64 (unsigned char *out, const unsigned char *in, s
s
ize_t len,
+ s
s
ize_t olen)
{
while (len >= 3 && olen > 10) {
*out++ = __m_b64chars[in[0] >> 2];
{
while (len >= 3 && olen > 10) {
*out++ = __m_b64chars[in[0] >> 2];