summaryrefslogtreecommitdiff
path: root/common/JackClient.cpp
diff options
context:
space:
mode:
authorJulien Acroute <julien-github@nura.eu>2015-06-02 11:04:27 +0200
committerJulien Acroute <julien-github@nura.eu>2015-06-02 11:04:27 +0200
commit9c85871d8a9266d8acedf56f6f3debe4a8b32d62 (patch)
tree9a1cf14d52a10c6d8bd23d5f5d52970b81cd200a /common/JackClient.cpp
parent89e6b8b71c9ffaf21d2ca80497618f36b8c14eb0 (diff)
downloadjack2-9c85871d8a9266d8acedf56f6f3debe4a8b32d62.tar.gz
Fix return value of SetTimebaseCallback()
return value of JackGenericClientChannel->SetTimebaseCallback() instead of -1 where there is a conditional request
Diffstat (limited to 'common/JackClient.cpp')
-rw-r--r--common/JackClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/JackClient.cpp b/common/JackClient.cpp
index d2722fe4..e2edd544 100644
--- a/common/JackClient.cpp
+++ b/common/JackClient.cpp
@@ -856,7 +856,7 @@ int JackClient::SetTimebaseCallback(int conditional, JackTimebaseCallback timeba
} else {
fTimebase = NULL;
fTimebaseArg = NULL;
- return -1;
+ return result;
}
}