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;
|
||||
|
||||
if (Receive(input, chName, i) >= 0) {
|
||||
return callback(input, 0);
|
||||
return callback(input, i);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user