]> git.corax.cc Git - toolbox/commit
include/ipc: Correctly assign `topics' in ipc_endpoint_subscribe()
authorMatthias Kruk <m@m10k.eu>
Sat, 15 Apr 2023 07:26:37 +0000 (16:26 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 15 Apr 2023 07:26:37 +0000 (16:26 +0900)
commit5773685a911315001b89c7bb38c380b490bd4cd3
tree538be0956c8a60376fef5b0a771532e5aa21c6eb
parent468661251c083e296591b9f16047df36ea84f060
include/ipc: Correctly assign `topics' in ipc_endpoint_subscribe()

The `topics' argument of ipc_endpoint_subscribe() is not assigned
from an array, causing the function to subscribe only to the first
topic that is passed to it.

This commit fixes the assignment of the `topics' argument of
ipc_endpoint_subscribe() so that the function will subscribe an
endpoint to more than one topic.
include/ipc.sh