diff options
author | David Robillard <d@drobilla.net> | 2012-08-14 04:23:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-14 04:23:23 +0000 |
commit | 80fee5c311fdbdeda573ec81f59158a5fc87d0a1 (patch) | |
tree | 8e7e5a6c9bda32bbe0ae8e8c9f6ab23e44c7c181 /src/socket/ingen_socket_client.cpp | |
parent | 058eaf65642268047a984a5c80d54a1f62a85130 (diff) | |
download | ingen-80fee5c311fdbdeda573ec81f59158a5fc87d0a1.tar.gz ingen-80fee5c311fdbdeda573ec81f59158a5fc87d0a1.tar.bz2 ingen-80fee5c311fdbdeda573ec81f59158a5fc87d0a1.zip |
Update for latest Raul.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4687 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/socket/ingen_socket_client.cpp')
-rw-r--r-- | src/socket/ingen_socket_client.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
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<Ingen::Interface> new_socket_interface(Ingen::World* world, - const std::string& url, + const Raul::URI& uri, SharedPtr<Ingen::Interface> respondee) { SharedPtr<Ingen::Socket::Socket> 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::Interface>(); } Ingen::Socket::SocketClient* client = new Ingen::Socket::SocketClient( - *world, - url, - sock, - respondee); + *world, uri, sock, respondee); return SharedPtr<Ingen::Interface>(client); } |