summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk Mueller <mueller@kde.org>2006-04-26 23:21:59 +0000
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-04-23 23:12:26 +0900
commit2c5f381cc88c02cd7f6fa9220296cb79931a2cbc (patch)
treee38a26be59b226f69219e58a9f756351b8fe1b84
parent54a0f4558722d57bd826f3ae916701213c435a8d (diff)
downloadtdepim-2c5f381cc88c02cd7f6fa9220296cb79931a2cbc.tar.gz
tdepim-2c5f381cc88c02cd7f6fa9220296cb79931a2cbc.zip
- avoid unnecessary string conversion.
Partial cherry pick from: 35f536ddb27633e8cac40eb4c99c5b370fdb14cb Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org> (cherry picked from commit 86d107daed688d9f69f789e9087c48250126612f)
-rw-r--r--tdeioslave/imap4/rfcdecoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeioslave/imap4/rfcdecoder.cc b/tdeioslave/imap4/rfcdecoder.cc
index 08b641b7d..41a50ec10 100644
--- a/tdeioslave/imap4/rfcdecoder.cc
+++ b/tdeioslave/imap4/rfcdecoder.cc
@@ -591,7 +591,7 @@ rfcDecoder::encodeRFC2231String (const TQString & _str)
}
if (!*l) {
free(latin);
- return _str.ascii ();
+ return _str;
}
TQCString result;
l = latin;