summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/imapparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/imap4/imapparser.h')
-rw-r--r--kioslaves/imap4/imapparser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kioslaves/imap4/imapparser.h b/kioslaves/imap4/imapparser.h
index 8d57cee10..9902534c3 100644
--- a/kioslaves/imap4/imapparser.h
+++ b/kioslaves/imap4/imapparser.h
@@ -60,9 +60,9 @@ public:
if (pos >= data.size()) return TQCString();
return TQCString(data.data() + pos, data.size() - pos + 1);
}
- int tqfind(char c, int index = 0)
+ int find(char c, int index = 0)
{
- int res = data.tqfind(c, index + pos);
+ int res = data.find(c, index + pos);
return (res == -1) ? res : (res - pos);
}
// Warning: does not check for going past end of "data"