From 964314f7451e882a0cfb58a8f40cf21c6eca7273 Mon Sep 17 00:00:00 2001 From: Nils <> Date: Sun, 5 Jul 2020 13:04:58 +0200 Subject: [PATCH] legacy-gui: Remove undocumented 'feature' that adds nsm-proxy when adding a single space as client name --- src/legacy-gui.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/legacy-gui.cpp b/src/legacy-gui.cpp index aea6cc0..bd501a4 100644 --- a/src/legacy-gui.cpp +++ b/src/legacy-gui.cpp @@ -707,12 +707,6 @@ public: char *name = strdup( n ); - if ( index( name, ' ' ) ) - { - free( name ); - name = strdup( "nsm-proxy" ); - } - lo_address nsm_addr = lo_address_new_from_url( browser->text( browser->value() ) ); osc->send( nsm_addr, "/nsm/server/add", name ); @@ -730,12 +724,6 @@ public: char *name = strdup( n ); - if ( index( name, ' ' ) ) - { - free( name ); - name = strdup( "nsm-proxy" ); - } - MESSAGE( "Sending add for: %s", name ); /* FIXME: user should get to choose which system to do the add on */ foreach_daemon ( d )