summaryrefslogtreecommitdiff
path: root/common/JackClient.cpp
diff options
context:
space:
mode:
authorTorben Hohn <torbenh@gmx.de>2010-04-20 06:40:04 +0200
committerTorben Hohn <torbenh@gmx.de>2010-05-05 12:31:27 +0200
commit914a79d4b3c2be0d5900e7ef4477f1b37d3cf598 (patch)
treeb57bbb555020302ec0618cca3ae595ec6c15f68b /common/JackClient.cpp
parent542aa6c7524944dd8ba72776fb2688281bf997f9 (diff)
downloadjack2-914a79d4b3c2be0d5900e7ef4477f1b37d3cf598.tar.gz
use constant JACK_UUID_SIZE for uuid size.
Diffstat (limited to 'common/JackClient.cpp')
-rw-r--r--common/JackClient.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/JackClient.cpp b/common/JackClient.cpp
index 999b97b7..89141499 100644
--- a/common/JackClient.cpp
+++ b/common/JackClient.cpp
@@ -277,7 +277,7 @@ int JackClient::ClientNotify(int refnum, const char* name, int notify, int sync,
jack_log("JackClient::kSessionCallback");
if (fSession) {
jack_session_event_t *event = (jack_session_event_t *) malloc( sizeof(jack_session_event_t) );
- char uuid_buf[32];
+ char uuid_buf[JACK_UUID_SIZE];
event->type = (jack_session_event_type_t) value1;
event->session_dir = strdup( message );
event->command_line = NULL;
@@ -1111,7 +1111,7 @@ int JackClient::SessionReply( jack_session_event_t *ev )
char* JackClient::GetUUIDForClientName(const char* client_name)
{
- char uuid_res[JACK_CLIENT_NAME_SIZE + 1];
+ char uuid_res[JACK_UUID_SIZE];
int result = -1;
fChannel->GetUUIDForClientName( GetClientControl()->fRefNum, client_name, uuid_res, &result);