From: Matthias Kruk Date: Fri, 10 Mar 2023 11:16:40 +0000 (+0900) Subject: include/uipc: Fix version checking when dumping uipc messages X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=5c372eadc8d557453714993a677573fb5b569ddb;p=toolbox include/uipc: Fix version checking when dumping uipc messages The function `uipc_msg_dump()' still references `_uipc_msg_get()' even though it was removed from the module, rendering the function unable to figure out the message version. This commit changes the uipc module to use `ipc_msg_get_version()' to query message versions. --- diff --git a/include/uipc.sh b/include/uipc.sh index ccc0b47..1e67795 100644 --- a/include/uipc.sh +++ b/include/uipc.sh @@ -74,7 +74,7 @@ uipc_msg_dump() { local version_ok version_ok="no" - version=$(_uipc_msg_get "$msg" "version") + version=$(ipc_msg_get_version "$msg" "version") if _uipc_msg_version_supported "$msg"; then version_ok="yes"