diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-03-03 19:58:41 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-03-03 19:58:41 +0000 |
commit | 275858eee6d57bafc48f56095c324efe56b59511 (patch) | |
tree | db60c5442cbfa4cc5d75094376da8068ff21857e /rfc2047.c | |
parent | e0ae569c01e6aa93463d18aa6531f507943d7614 (diff) |
releasing 0.96.1.
Diffstat (limited to 'rfc2047.c')
-rw-r--r-- | rfc2047.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -284,7 +284,7 @@ static int rfc2047_decode_word (char *d, const char *s, size_t len) int enc = 0, filter = 0, count = 0, c1, c2, c3, c4; char *charset = NULL; - while ((pp = strtok (pp, "?")) != NULL) + while (*pp == '?' || (pp = strtok (pp, "?")) != NULL) { count++; switch (count) |