summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/mailaddress.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/imap4/mailaddress.cc')
-rw-r--r--kioslaves/imap4/mailaddress.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kioslaves/imap4/mailaddress.cc b/kioslaves/imap4/mailaddress.cc
index 0775d0f36..0ddd2ff04 100644
--- a/kioslaves/imap4/mailaddress.cc
+++ b/kioslaves/imap4/mailaddress.cc
@@ -105,7 +105,7 @@ mailAddress::parseAddress (char *aCStr)
len = advance;
user = user.mid (1, len - 2); // strip <>
len -= 2;
- pt = user.tqfind('@');
+ pt = user.find('@');
host = user.right (len - pt - 1); // split it into host
user.truncate(pt); // and user
break;
@@ -161,7 +161,7 @@ mailAddress::parseAddress (char *aCStr)
}
else if (user.isEmpty ())
{
- pt = rawFullName.tqfind ('@');
+ pt = rawFullName.find ('@');
if (pt >= 0)
{
user = rawFullName;