From 5ae43bb27c42387052a73e5ffc5d33efb9d946a9 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Wed, 14 Feb 2018 17:26:26 -0800 Subject: [PATCH] nonlib/OSC: Don't try to send feedback to non-existent path. Closes #227. --- lib/ntk | 2 +- nonlib/OSC/Endpoint.C | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ntk b/lib/ntk index 92365ec..1e3f510 160000 --- a/lib/ntk +++ b/lib/ntk @@ -1 +1 @@ -Subproject commit 92365eca0f9a6f054abc70489c009aba0fcde0ff +Subproject commit 1e3f5106d404562902bed2983403301db24a3f78 diff --git a/nonlib/OSC/Endpoint.C b/nonlib/OSC/Endpoint.C index a318d2c..cb8c822 100644 --- a/nonlib/OSC/Endpoint.C +++ b/nonlib/OSC/Endpoint.C @@ -1085,7 +1085,7 @@ namespace OSC i != _translations.end(); i++ ) { - if ( ! strcmp( i->second.path.c_str(), path ) ) + if ( path && ! strcmp( i->second.path.c_str(), path ) ) { /* found it */ if ( !i->second.suppress_feedback && i->second.current_value != v )