summaryrefslogtreecommitdiffstats
path: root/kioslave/smtp/interactivesmtpserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/smtp/interactivesmtpserver.h')
-rw-r--r--kioslave/smtp/interactivesmtpserver.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kioslave/smtp/interactivesmtpserver.h b/kioslave/smtp/interactivesmtpserver.h
index 39a07f6a9..556b3cb3d 100644
--- a/kioslave/smtp/interactivesmtpserver.h
+++ b/kioslave/smtp/interactivesmtpserver.h
@@ -49,10 +49,10 @@ static TQString err2str( int err ) {
static TQString escape( TQString s ) {
return s
- .replace( '&', "&" )
- .replace( '>', ">" )
- .replace( '<', "&lt;" )
- .replace( '"', "&quot;" )
+ .tqreplace( '&', "&amp;" )
+ .tqreplace( '>', "&gt;" )
+ .tqreplace( '<', "&lt;" )
+ .tqreplace( '"', "&quot;" )
;
}