diff options
author | David Robillard <d@drobilla.net> | 2009-05-11 23:47:55 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-11 23:47:55 +0000 |
commit | effacccee852f5070c29f214cd2d15ce9aa2e91b (patch) | |
tree | e6954984e214890fb800880f4eb46a97e25938f3 /src | |
parent | 1e27f4e1b9e551b4c1241340edbefbc014e5193f (diff) | |
download | ingen-effacccee852f5070c29f214cd2d15ce9aa2e91b.tar.gz ingen-effacccee852f5070c29f214cd2d15ce9aa2e91b.tar.bz2 ingen-effacccee852f5070c29f214cd2d15ce9aa2e91b.zip |
Fix OSC/graphviz compilation stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1981 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/client/OSCClientReceiver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/OSCClientReceiver.cpp b/src/client/OSCClientReceiver.cpp index bc8659df..e76f0081 100644 --- a/src/client/OSCClientReceiver.cpp +++ b/src/client/OSCClientReceiver.cpp @@ -142,7 +142,7 @@ OSCClientReceiver::setup_callbacks() { lo_server_thread_add_method(_st, "/ingen/ok", "i", response_ok_cb, this); lo_server_thread_add_method(_st, "/ingen/error", "is", response_error_cb, this); - lo_server_thread_add_method(_st, "/ingen/plugin", "ssss", plugin_cb, this); + lo_server_thread_add_method(_st, "/ingen/plugin", "sss", plugin_cb, this); lo_server_thread_add_method(_st, "/ingen/new_patch", "si", new_patch_cb, this); lo_server_thread_add_method(_st, "/ingen/destroyed", "s", destroyed_cb, this); lo_server_thread_add_method(_st, "/ingen/patch_cleared", "s", patch_cleared_cb, this); @@ -356,8 +356,8 @@ OSCClientReceiver::_response_error_cb(const char* path, const char* types, lo_ar int OSCClientReceiver::_plugin_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg) { - assert(argc == 4 && !strcmp(types, "ssss")); - _target->new_plugin(&argv[0]->s, &argv[1]->s, &argv[2]->s, &argv[3]->s); // uri, type, symbol, name + assert(argc == 3 && !strcmp(types, "sss")); + _target->new_plugin(&argv[0]->s, &argv[1]->s, &argv[2]->s); // uri, type, symbol return 0; } |