From 80fee5c311fdbdeda573ec81f59158a5fc87d0a1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 14 Aug 2012 04:23:23 +0000 Subject: Update for latest Raul. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4687 a436a847-0d15-0410-975c-d299462d15a1 --- src/socket/ingen_socket_client.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/socket/ingen_socket_client.cpp') diff --git a/src/socket/ingen_socket_client.cpp b/src/socket/ingen_socket_client.cpp index 8819ea2c..148f2b2a 100644 --- a/src/socket/ingen_socket_client.cpp +++ b/src/socket/ingen_socket_client.cpp @@ -25,19 +25,16 @@ static SharedPtr new_socket_interface(Ingen::World* world, - const std::string& url, + const Raul::URI& uri, SharedPtr respondee) { SharedPtr sock( - new Ingen::Socket::Socket(Ingen::Socket::Socket::type_from_uri(url))); - if (!sock->connect(url)) { + new Ingen::Socket::Socket(Ingen::Socket::Socket::type_from_uri(uri))); + if (!sock->connect(uri)) { return SharedPtr(); } Ingen::Socket::SocketClient* client = new Ingen::Socket::SocketClient( - *world, - url, - sock, - respondee); + *world, uri, sock, respondee); return SharedPtr(client); } -- cgit v1.2.1