summaryrefslogtreecommitdiffstats
path: root/raul
diff options
context:
space:
mode:
Diffstat (limited to 'raul')
-rw-r--r--raul/Socket.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/Socket.hpp b/raul/Socket.hpp
index 57279e7..470527f 100644
--- a/raul/Socket.hpp
+++ b/raul/Socket.hpp
@@ -230,7 +230,7 @@ Socket::accept()
if (!getnameinfo(client_addr, client_addr_len,
host, sizeof(host), serv, sizeof(serv), 0)) {
const std::string scheme = _uri.substr(0, _uri.find(':'));
- client_uri = std::string(scheme + "://" + host + ":" + serv);
+ client_uri = scheme + "://" + host + ":" + serv;
}
}