aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2007-02-22 14:26:10 +0000
committerVincent Richard <[email protected]>2007-02-22 14:26:10 +0000
commit15b93aaa59adee835554ab02ed09aba3de315d54 (patch)
treeba5115b51a56b32c02b8846588ad599e208f3528 /src
parentRoot part should not be detected as an attachment. (diff)
downloadvmime-15b93aaa59adee835554ab02ed09aba3de315d54.tar.gz
vmime-15b93aaa59adee835554ab02ed09aba3de315d54.zip
Fixed bad parsing of RFC-2047 quoting.
Diffstat (limited to 'src')
-rw-r--r--src/address.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/address.cpp b/src/address.cpp
index 25352321..5b07535c 100644
--- a/src/address.cpp
+++ b/src/address.cpp
@@ -107,7 +107,7 @@ ref <address> address::parseNext(const string& buffer, const string::size_type p
break;
case '=':
- if (pos + 1 < end && buffer[pos + 1] == '?')
+ if (!quoted && !quotedRFC2047 && pos + 1 < end && buffer[pos + 1] == '?')
{
++pos;
quotedRFC2047 = true;