Browse Source

fix up incorrect test for successful UUID return from jack_get_uuid_for_client_name() in jack_lsp()

tags/0.124.0
Paul Davis 11 years ago
parent
commit
3efef3f45a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lsp.c

+ 1
- 1
lsp.c View File

@@ -27,7 +27,7 @@ printf_name2uuid (jack_client_t* client, const char* pname)
snprintf(client_component, csize, "%s", pname);

char *uuid = jack_get_uuid_for_client_name(client, client_component);
if (uuid && strcmp(uuid, "-1") != 0) {
if (uuid) {
printf("%s%s\n", uuid, port_component );
} else {
printf("%s\n",pname);


Loading…
Cancel
Save