aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/HTTPServer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/HTTPServer.cxx')
-rw-r--r--common/rfb/HTTPServer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/HTTPServer.cxx b/common/rfb/HTTPServer.cxx
index 934ca74e..94f06090 100644
--- a/common/rfb/HTTPServer.cxx
+++ b/common/rfb/HTTPServer.cxx
@@ -240,7 +240,7 @@ HTTPServer::Session::processHTTP() {
return writeResponse(501);
// Store the URI to the "document"
- uri.buf = safe_strdup(path);
+ uri.buf = strDup(path);
}
// Move on to reading the request headers