mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Fix incorrect channel index passed to OnData callback
This commit is contained in:
@@ -644,7 +644,7 @@ bool FairMQDevice::HandleMultipartInput(const string& chName, const InputMultipa
|
|||||||
FairMQParts input;
|
FairMQParts input;
|
||||||
|
|
||||||
if (Receive(input, chName, i) >= 0) {
|
if (Receive(input, chName, i) >= 0) {
|
||||||
return callback(input, 0);
|
return callback(input, i);
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user