projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move some decoding functions right into the str module, with a bit more
[apps/madmutt.git]
/
rfc2047.c
diff --git
a/rfc2047.c
b/rfc2047.c
index
0b35cf7
..
d973d26
100644
(file)
--- a/
rfc2047.c
+++ b/
rfc2047.c
@@
-599,7
+599,7
@@
static int rfc2047_decode_word (char *d, const char *s, size_t len)
for (; pp < pp1; pp++) {
if (*pp == '=')
break;
- if ((
*pp & ~127) || (c = base64val (*pp)) == -1
)
+ if ((
c = base64val(*pp)) < 0
)
continue;
if (k + 6 >= 8) {
k -= 2;