diff --git a/ChangeLog b/ChangeLog index 358c9308..5b4455d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,6 +23,10 @@ Michael Voigt Jackdmp changes log --------------------------- +2008-10-13 Stephane Letz + + * Fix jackctl_server_unload_internal. + 2008-10-30 Stephane Letz * Fix Midi port initialization in JackNetDriver. diff --git a/common/JackControlAPI.cpp b/common/JackControlAPI.cpp index 9292e981..68aebb5c 100644 --- a/common/JackControlAPI.cpp +++ b/common/JackControlAPI.cpp @@ -1,4 +1,4 @@ -/* -*- Mode: C++ ; c-basic-offset: 4 -*- */ +// u/* -*- Mode: C++ ; c-basic-offset: 4 -*- */ /* JACK control API implementation @@ -1153,7 +1153,7 @@ EXPORT bool jackctl_server_unload_internal( { int status; if (server_ptr->engine != NULL && internal->refnum > 0) { - return (server_ptr->engine->GetEngine()->InternalClientUnload(internal->refnum, &status)); + return ((server_ptr->engine->GetEngine()->InternalClientUnload(internal->refnum, &status)) == 0); } else { return false; }