summaryrefslogtreecommitdiffstats
path: root/src/shared
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/shared
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/shared')
-rw-r--r--src/shared/OSCSender.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/OSCSender.cpp b/src/shared/OSCSender.cpp
index 2d9cbbc4..151a3f40 100644
--- a/src/shared/OSCSender.cpp
+++ b/src/shared/OSCSender.cpp
@@ -20,6 +20,7 @@
#include <stdarg.h>
#include "raul/log.hpp"
#include "OSCSender.hpp"
+#include "ingen-config.h"
using namespace std;
using namespace Raul;
@@ -82,6 +83,10 @@ OSCSender::send(const char *path, const char *types, ...)
if (!_enabled)
return 0;
+#ifdef LOG_DEBUG
+ info << "[OSCSender] " << path << " (" << types << ")" << endl;
+#endif
+
va_list args;
va_start(args, types);