Browse Source

jackdbus: fix client lookup

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4054 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.9.7
nedko 15 years ago
parent
commit
6ce74b1443
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dbus/controller_iface_patchbay.c

+ 1
- 1
dbus/controller_iface_patchbay.c View File

@@ -323,7 +323,7 @@ jack_controller_patchbay_find_client(
list_for_each(node_ptr, &patchbay_ptr->graph.clients)
{
client_ptr = list_entry(node_ptr, struct jack_graph_client, siblings);
if (strncmp(client_ptr->name, client_name, client_name_len) == 0)
if (strlen(client_ptr->name) == client_name_len && strncmp(client_ptr->name, client_name, client_name_len) == 0)
{
return client_ptr;
}


Loading…
Cancel
Save