summaryrefslogtreecommitdiffstats
path: root/libkmime/kmime_newsarticle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkmime/kmime_newsarticle.cpp')
-rw-r--r--libkmime/kmime_newsarticle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkmime/kmime_newsarticle.cpp b/libkmime/kmime_newsarticle.cpp
index 1b16ad71f..8989f6a07 100644
--- a/libkmime/kmime_newsarticle.cpp
+++ b/libkmime/kmime_newsarticle.cpp
@@ -104,7 +104,7 @@ void NewsArticle::assemble()
newHead+=contentTransferEncoding()->as7BitString()+"\n";
//X-Headers
- int pos=h_ead.find("\nX-");
+ int pos=h_ead.tqfind("\nX-");
if(pos>-1) //we already have some x-headers => "recycle" them
newHead+=h_ead.mid(pos+1, h_ead.length()-pos);
else if(h_eaders && !h_eaders->isEmpty()) {