summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/OSCResponder.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-08 23:15:42 +0000
committerDavid Robillard <d@drobilla.net>2006-09-08 23:15:42 +0000
commitb853b3dde1f7028dd275f78433a6ad9b5b9f61c7 (patch)
tree0a3fa37cedd2ba49158e11168974387d1e0c3a37 /src/libs/engine/OSCResponder.cpp
parent9028938008fa22ca2fe0c4ac7677471ac499b63f (diff)
downloadingen-b853b3dde1f7028dd275f78433a6ad9b5b9f61c7.tar.gz
ingen-b853b3dde1f7028dd275f78433a6ad9b5b9f61c7.tar.bz2
ingen-b853b3dde1f7028dd275f78433a6ad9b5b9f61c7.zip
More cleanups
git-svn-id: http://svn.drobilla.net/lad/ingen@122 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/OSCResponder.cpp')
-rw-r--r--src/libs/engine/OSCResponder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/OSCResponder.cpp b/src/libs/engine/OSCResponder.cpp
index d67342d6..50619089 100644
--- a/src/libs/engine/OSCResponder.cpp
+++ b/src/libs/engine/OSCResponder.cpp
@@ -56,7 +56,7 @@ OSCResponder::respond_ok()
_addr = lo_address_new_from_url(_url);
//cerr << "OK " << _id << endl;
- if (lo_send(_addr, "/om/response/ok", "i", _id) < 0) {
+ if (lo_send(_addr, "/om/response", "iis", _id, 1, "") < 0) {
cerr << "Unable to send response " << _id << "! ("
<< lo_address_errstr(_addr) << ")" << endl;
}
@@ -69,7 +69,7 @@ OSCResponder::respond_error(const string& msg)
_addr = lo_address_new_from_url(_url);
//cerr << "ERR " << _id << endl;
- if (lo_send(_addr, "/om/response/error", "is",_id, msg.c_str()) < 0) {
+ if (lo_send(_addr, "/om/response", "iis",_id, 0, msg.c_str()) < 0) {
cerr << "Unable to send response " << _id << "! ("
<< lo_address_errstr(_addr) << endl;
}