summaryrefslogtreecommitdiffstats
path: root/kpf/src/Response.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpf/src/Response.cpp')
-rw-r--r--kpf/src/Response.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpf/src/Response.cpp b/kpf/src/Response.cpp
index 1299fd44..67d4f206 100644
--- a/kpf/src/Response.cpp
+++ b/kpf/src/Response.cpp
@@ -152,9 +152,9 @@ namespace KPF
{
TQString line(str.readLine());
- line.tqreplace(regexpMessage, responseName(code));
- line.tqreplace(regexpCode, TQString::number(code));
- line.tqreplace(regexpResource, request.path());
+ line.replace(regexpMessage, responseName(code));
+ line.replace(regexpCode, TQString::number(code));
+ line.replace(regexpResource, request.path());
html = line + "\r\n";
}