From 44f7ad5222d824d81dc743045d5887418847e74e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Jan 2018 00:41:34 +0100 Subject: Add URI class and remove use of Raul::URI --- src/server/SocketListener.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/SocketListener.cpp') diff --git a/src/server/SocketListener.cpp b/src/server/SocketListener.cpp index e62b822e..eecc28d1 100644 --- a/src/server/SocketListener.cpp +++ b/src/server/SocketListener.cpp @@ -88,8 +88,8 @@ ingen_listen(Engine* engine, Raul::Socket* unix_sock, Raul::Socket* net_sock) const std::string unix_path(link_path + "." + std::to_string(getpid())); // Bind UNIX socket and create PID-less symbolic link - const Raul::URI unix_uri(unix_scheme + unix_path); - bool make_link = true; + const URI unix_uri(unix_scheme + unix_path); + bool make_link = true; if (!unix_sock->bind(unix_uri) || !unix_sock->listen()) { world->log().error("Failed to create UNIX socket\n"); unix_sock->close(); @@ -127,7 +127,7 @@ ingen_listen(Engine* engine, Raul::Socket* unix_sock, Raul::Socket* net_sock) const int port = world->conf().option("engine-port").get(); std::ostringstream ss; ss << "tcp://*:" << port; - if (!net_sock->bind(Raul::URI(ss.str())) || !net_sock->listen()) { + if (!net_sock->bind(URI(ss.str())) || !net_sock->listen()) { world->log().error("Failed to create TCP socket\n"); net_sock->close(); } else { -- cgit v1.2.1