diff options
author | sletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224> | 2007-08-22 08:13:42 +0000 |
---|---|---|
committer | sletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224> | 2007-08-22 08:13:42 +0000 |
commit | fb2ed94907502fb4caad250fd3e28a3268caa02a (patch) | |
tree | 3d9b14be6ebd310763d6a7a319adcda3e4256833 /common/JackLibClient.cpp | |
parent | 37f77ece8a189e5ab2181ea2baffab915cf93aeb (diff) | |
download | jack2-fb2ed94907502fb4caad250fd3e28a3268caa02a.tar.gz |
Fix a bug in JackLibClient::Open introduced when adding automatic client renaming
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1526 0c269be4-1314-0410-8aa9-9f06e86f4224
Diffstat (limited to 'common/JackLibClient.cpp')
-rw-r--r-- | common/JackLibClient.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/common/JackLibClient.cpp b/common/JackLibClient.cpp index 3793deb7..73b8425d 100644 --- a/common/JackLibClient.cpp +++ b/common/JackLibClient.cpp @@ -109,13 +109,12 @@ int JackLibClient::Open(const char* name, jack_options_t options, jack_status_t* #endif */ // Connect shared synchro : the synchro must be usable in I/O mode when several clients live in the same process - if (!fSynchroTable[fClientControl->fRefNum]->Connect(name)) { - jack_error("Cannot ConnectSemaphore %s client", name); + if (!fSynchroTable[fClientControl->fRefNum]->Connect(name_res)) { + jack_error("Cannot ConnectSemaphore %s client", name_res); goto error; } - JackLog("JackLibClient::Open name = %s refnum = %ld\n", name, fClientControl->fRefNum); - + JackLog("JackLibClient::Open name = %s refnum = %ld\n", name_res, fClientControl->fRefNum); return 0; error: |