diff --git a/luprex/core/cpp/drivenengine.cpp b/luprex/core/cpp/drivenengine.cpp index 69426444..907a5736 100644 --- a/luprex/core/cpp/drivenengine.cpp +++ b/luprex/core/cpp/drivenengine.cpp @@ -196,7 +196,7 @@ const std::string &DrivenEngine::drv_get_target(int chid) { bool DrivenEngine::drv_outgoing_empty(int chid) { int nbytes; const char *bytes; drv_peek_outgoing(chid, &nbytes, &bytes); - return (nbytes > 0); + return (nbytes == 0); } bool DrivenEngine::drv_get_channel_released(int chid) {