summaryrefslogtreecommitdiffstats
path: root/src/client/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/client.cpp')
-rw-r--r--src/client/client.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/client.cpp b/src/client/client.cpp
index 3ced5f63..53d7810f 100644
--- a/src/client/client.cpp
+++ b/src/client/client.cpp
@@ -26,6 +26,7 @@
#include "HTTPEngineSender.hpp"
#endif
+
using namespace std;
namespace Ingen {
@@ -33,7 +34,7 @@ namespace Client {
SharedPtr<Ingen::Shared::EngineInterface>
-new_remote_interface(const std::string& url)
+new_remote_interface(Ingen::Shared::World* world, const std::string& url)
{
const string scheme = url.substr(0, url.find(":"));
@@ -47,7 +48,7 @@ new_remote_interface(const std::string& url)
#ifdef HAVE_SOUP
if (scheme == "http") {
- HTTPEngineSender* hes = new HTTPEngineSender(url);
+ HTTPEngineSender* hes = new HTTPEngineSender(world, url);
hes->attach(rand(), true);
return SharedPtr<Shared::EngineInterface>(hes);
}