Browse Source

simple_client.c: Exit on error

pull/5/head
Erik de Castro Lopo 9 years ago
parent
commit
d7c4cab48e
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      simple_client.c

+ 2
- 1
simple_client.c View File

@@ -133,6 +133,7 @@ main (int argc, char *argv[])

if (jack_connect (client, ports[0], jack_port_name (input_port))) {
fprintf (stderr, "cannot connect input ports\n");
exit (1);
}

free (ports);
@@ -160,5 +161,5 @@ main (int argc, char *argv[])
*/

jack_client_close (client);
exit (0);
return 0;
}

Loading…
Cancel
Save