projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
oopsie, small fixes.
[apps/madmutt.git]
/
handler.c
diff --git
a/handler.c
b/handler.c
index
fc80372
..
fe2a0f7
100644
(file)
--- a/
handler.c
+++ b/
handler.c
@@
-25,13
+25,13
@@
#include <lib-lib/file.h>
#include <lib-mime/mime.h>
#include <lib-lib/file.h>
#include <lib-mime/mime.h>
+#include <lib-mime/rfc3676.h>
#include <lib-ui/curses.h>
#include "mutt.h"
#include "recvattach.h"
#include "handler.h"
#include <lib-ui/curses.h>
#include "mutt.h"
#include "recvattach.h"
#include "handler.h"
-#include "rfc3676.h"
#include "keymap.h"
#include "copy.h"
#include "charset.h"
#include "keymap.h"
#include "copy.h"
#include "charset.h"
@@
-270,7
+270,7
@@
void mutt_decode_base64 (STATE * s, long len, int istext, iconv_t cd)
else
bufi[l++] = ch;
else
bufi[l++] = ch;
- if (l + 8 >= sizeof (bufi))
+ if (l + 8 >= s
s
izeof (bufi))
mutt_convert_to_state (cd, bufi, &l, s);
}
mutt_convert_to_state (cd, bufi, &l, s);
}