Browse Source

Correct jack_client_open_aux(2)

git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1116 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.115.6
sletz 17 years ago
parent
commit
1f43771b3b
1 changed files with 3 additions and 7 deletions
  1. +3
    -7
      libjack/client.c

+ 3
- 7
libjack/client.c View File

@@ -943,7 +943,6 @@ jack_client_open_aux (const char *client_name,
jack_status_t *status, va_list ap)
{
/* optional arguments: */
//va_list ap; /* variable argument pointer */
jack_varargs_t va; /* variable arguments */

int req_fd = -1;
@@ -964,10 +963,7 @@ jack_client_open_aux (const char *client_name,
}

/* parse variable arguments */
//va_start (ap, status);
if (ap)
jack_varargs_parse (options, ap, &va);
//va_end (ap);
jack_varargs_parse (options, ap, &va);

/* External clients need to know where the tmpdir used for
communication with the server lives
@@ -1112,8 +1108,8 @@ jack_client_new (const char *client_name)
jack_options_t options = JackUseExactName;
if (getenv("JACK_START_SERVER") == NULL)
options |= JackNoStartServer;
return jack_client_open_aux (client_name, options, NULL, NULL);
va_list ap;
return jack_client_open_aux (client_name, options, NULL, ap);
}

char *


Loading…
Cancel
Save