summaryrefslogtreecommitdiff
path: root/common/JackClient.cpp
diff options
context:
space:
mode:
authorsletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224>2011-11-25 12:52:05 +0000
committersletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224>2011-11-25 12:52:05 +0000
commit022e551350b9ec5d591045efaace20c15ee2a0f6 (patch)
tree36bc9341421dda09193e5be5d29f3cd6ab5adaa9 /common/JackClient.cpp
parent4f25dd864b9534f4fecbc39acbd8427c9b99e8a1 (diff)
downloadjack2-022e551350b9ec5d591045efaace20c15ee2a0f6.tar.gz
Cleanup.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4608 0c269be4-1314-0410-8aa9-9f06e86f4224
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 2d8e30b0..fe1a34c0 100644
--- a/common/JackClient.cpp
+++ b/common/JackClient.cpp
@@ -640,14 +640,14 @@ int JackClient::PortRegister(const char* port_name, const char* port_type, unsig
{
// Check if port name is empty
string port_name_str = string(port_name);
- if (port_name_str.size() == 0) {
+ if (port_name_str.size() == 0)
jack_error("port_name is empty");
return 0; // Means failure here...
}
// Check port name length
string name = string(GetClientControl()->fName) + string(":") + port_name_str;
- if (name.size() >= JACK_PORT_NAME_SIZE) {
+ if (name.size() >= REAL_JACK_PORT_NAME_SIZE) {
jack_error("\"%s:%s\" is too long to be used as a JACK port name.\n"
"Please use %lu characters or less",
GetClientControl()->fName,