From 2d7279a931894e82857bcccc9be6c4349cfc2e55 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Thu, 9 Feb 2012 00:37:49 -0800 Subject: [PATCH] OSC: Don't swallow up all parameterless messages. --- nonlib/OSC/Endpoint.C | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nonlib/OSC/Endpoint.C b/nonlib/OSC/Endpoint.C index 66726b5..b629587 100644 --- a/nonlib/OSC/Endpoint.C +++ b/nonlib/OSC/Endpoint.C @@ -69,10 +69,7 @@ namespace OSC OSC_DMSG(); if ( path[ strlen(path) - 1 ] != '/' ) - { - DMESSAGE( "Unknown OSC signal %s", path ); - return 0; - } + return -1; char *paths = ((Endpoint*)user_data)->get_paths( path );