summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-20 00:44:42 +0000
committerDavid Robillard <d@drobilla.net>2008-08-20 00:44:42 +0000
commit86d961d77bdc6de15f79e80bbc920e8d130859c7 (patch)
tree7af26728f1a770dab218550f12bcde2248bd45ff
parenta0872caf0097908464f3ef3a6a5e3635296b95e8 (diff)
downloadingen-86d961d77bdc6de15f79e80bbc920e8d130859c7.tar.gz
ingen-86d961d77bdc6de15f79e80bbc920e8d130859c7.tar.bz2
ingen-86d961d77bdc6de15f79e80bbc920e8d130859c7.zip
Only warn about split bundles for bundles (which should be atomic), not transfers.
git-svn-id: http://svn.drobilla.net/lad/ingen@1453 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/libs/shared/OSCSender.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/shared/OSCSender.cpp b/src/libs/shared/OSCSender.cpp
index 6741982a..f366b1a4 100644
--- a/src/libs/shared/OSCSender.cpp
+++ b/src/libs/shared/OSCSender.cpp
@@ -107,7 +107,7 @@ OSCSender::send_message(const char* path, lo_message msg)
if (_transfer) {
if (lo_bundle_length(_transfer) + lo_message_length(msg, path) > MAX_BUNDLE_SIZE) {
- //if (_send_state == SendingBundle)
+ if (_send_state == SendingBundle)
cerr << "WARNING: Maximum bundle size reached, bundle split" << endl;
lo_send_bundle(_address, _transfer);
lo_timetag t;