Fix incorrect channel index passed to OnData callback

This commit is contained in:
Alexey Rybalchenko 2021-03-04 12:47:33 +01:00
parent 1f26883b75
commit fc2241ece7

View File

@ -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;
}