From 3265e8f01cd4e878661973730349a5ed44329713 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Feb 2013 16:58:42 +0000 Subject: More generic Atom class. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5024 a436a847-0d15-0410-975c-d299462d15a1 --- src/socket/SocketListener.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/socket') diff --git a/src/socket/SocketListener.cpp b/src/socket/SocketListener.cpp index 55c2de37..c2c1d0ee 100644 --- a/src/socket/SocketListener.cpp +++ b/src/socket/SocketListener.cpp @@ -42,7 +42,7 @@ SocketListener::SocketListener(Ingen::World& world) , _net_sock(Socket::Type::TCP) { // Create UNIX socket - _unix_path = world.conf().option("socket").get_string(); + _unix_path = world.conf().option("socket").ptr(); const Raul::URI unix_uri("unix://" + _unix_path); if (!_unix_sock.bind(unix_uri) || !_unix_sock.listen()) { _world.log().error("Failed to create UNIX socket\n"); @@ -51,7 +51,7 @@ SocketListener::SocketListener(Ingen::World& world) _world.log().info(Raul::fmt("Listening on socket %1%\n") % unix_uri); // Create TCP socket - int port = world.conf().option("engine-port").get_int32(); + int port = world.conf().option("engine-port").get(); std::ostringstream ss; ss << "tcp://localhost:"; ss << port; -- cgit v1.2.1