mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
Fix incorrect channel index passed to OnData callback
This commit is contained in:
parent
1f26883b75
commit
fc2241ece7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user