]> git.corax.cc Git - toolbox/commitdiff
include/ipc: Fix invalid function reference
authorMatthias Kruk <matthias.kruk@miraclelinux.com>
Fri, 18 Jun 2021 07:20:23 +0000 (16:20 +0900)
committerMatthias Kruk <matthias.kruk@miraclelinux.com>
Fri, 18 Jun 2021 07:20:23 +0000 (16:20 +0900)
The ipc_endpoint_recv() function calls _ipc_msg_validate(), which has
been renamed to ipc_msg_validate().
This commit fixes the reference so that the correct function is called.

include/ipc.sh

index 8ce852aa63a78d01f8ae79b91e645f003e73e162..faab5758213ec57daf4776ee6fc103a3e881ebff 100644 (file)
@@ -591,7 +591,7 @@ ipc_endpoint_recv() {
                fi
 
                if msg=$(_ipc_endpoint_get "$endpoint" "$remaining"); then
-                       if _ipc_msg_validate "$msg"; then
+                       if ipc_msg_validate "$msg"; then
                                echo "$msg"
                                return 0
                        fi