Fix bug in modified drivenengine
This commit is contained in:
@@ -196,7 +196,7 @@ const std::string &DrivenEngine::drv_get_target(int chid) {
|
|||||||
bool DrivenEngine::drv_outgoing_empty(int chid) {
|
bool DrivenEngine::drv_outgoing_empty(int chid) {
|
||||||
int nbytes; const char *bytes;
|
int nbytes; const char *bytes;
|
||||||
drv_peek_outgoing(chid, &nbytes, &bytes);
|
drv_peek_outgoing(chid, &nbytes, &bytes);
|
||||||
return (nbytes > 0);
|
return (nbytes == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DrivenEngine::drv_get_channel_released(int chid) {
|
bool DrivenEngine::drv_get_channel_released(int chid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user