summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-01-07 02:39:38 +0000
committerDavid Robillard <d@drobilla.net>2010-01-07 02:39:38 +0000
commit2d3e27ef80e4fc8704390ea7a878068b5ae6a370 (patch)
treec57b7e83b480c4547f0db99df59c5223ee62536b /src/client
parent1c217d7a8af8842f9b602383bb0b3e4a49209082 (diff)
downloadingen-2d3e27ef80e4fc8704390ea7a878068b5ae6a370.tar.gz
ingen-2d3e27ef80e4fc8704390ea7a878068b5ae6a370.tar.bz2
ingen-2d3e27ef80e4fc8704390ea7a878068b5ae6a370.zip
Fix compilation with --log-debug.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2356 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/OSCClientReceiver.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/OSCClientReceiver.cpp b/src/client/OSCClientReceiver.cpp
index bb3c098a..9a1808a2 100644
--- a/src/client/OSCClientReceiver.cpp
+++ b/src/client/OSCClientReceiver.cpp
@@ -38,7 +38,11 @@ OSCClientReceiver::OSCClientReceiver(int listen_port, SharedPtr<Shared::ClientIn
, _listen_port(listen_port)
, _st(NULL)
{
+#ifdef LOG_DEBUG
+ start(true);
+#else
start(false); // true = dump, false = shutup
+#endif
}