]> git.corax.cc Git - toolbox/commit
utils/ipc-inject: Don't inject messages with header
authorMatthias Kruk <m@m10k.eu>
Sun, 2 Oct 2022 05:53:59 +0000 (14:53 +0900)
committerMatthias Kruk <m@m10k.eu>
Sun, 2 Oct 2022 05:53:59 +0000 (14:53 +0900)
commitde8e07924f98918186a750bedcfaa8ff25207146
treecfa9110c151055bdb636bf1d3e465ef799dfc1a3
parent2ded12a09d33fcf5aefe813a7da57298c60b39b5
utils/ipc-inject: Don't inject messages with header

When ipc-inject injects a message, it uses ipc_endpoint_publish()
to re-publish it in its entirety, including the wrapper it was
received in, causing it to be double-wrapped.

This commit modifies ipc-inject so that it re-publishes only the
data of the received message, instead of the entire message.
utils/ipc-inject.sh