diff options
Diffstat (limited to 'utils/LocIpc.h')
-rw-r--r-- | utils/LocIpc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/LocIpc.h b/utils/LocIpc.h index 738d4fb..8598a32 100644 --- a/utils/LocIpc.h +++ b/utils/LocIpc.h @@ -131,8 +131,7 @@ public: inline bool send(const uint8_t data[], uint32_t length) { bool rtv = false; if (nullptr != mSocket && nullptr != data) { - ssize_t rv = LocIpc::sendData(*mSocket, mDestAddr, data, length); - rtv = (rv == (int)length); + rtv = LocIpc::sendData(*mSocket, mDestAddr, data, length); } return rtv; } |