diff options
Diffstat (limited to 'tdeioslave/imap4/mailaddress.cc')
-rw-r--r-- | tdeioslave/imap4/mailaddress.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tdeioslave/imap4/mailaddress.cc b/tdeioslave/imap4/mailaddress.cc index 866484584..915a3bbbe 100644 --- a/tdeioslave/imap4/mailaddress.cc +++ b/tdeioslave/imap4/mailaddress.cc @@ -197,14 +197,15 @@ mailAddress::parseAddress (char *aCStr) } const TQCString -mailAddress::getStr () +mailAddress::getStr () const { TQCString retVal(128); // Should be generally big enough if (!rawFullName.isEmpty ()) { - KMime::addQuotes( rawFullName, false ); - retVal = rawFullName + " "; + TQCString tmpName( rawFullName ); + KMime::addQuotes( tmpName, false ); + retVal = tmpName + " "; } if (!user.isEmpty ()) { |