mirror of https://github.com/FreeRDP/FreeRDP
report only actual bytes received, not allocated buffer size (interrupt produces data, timeout doesn't)
This commit is contained in:
parent
03128d5154
commit
d1dc2fb03d
|
@ -296,7 +296,7 @@ static void func_bulk_transfer_cb(struct libusb_transfer* transfer)
|
|||
user_data->cb(user_data->idev, user_data->callback, user_data->data, InterfaceId,
|
||||
user_data->noack, user_data->MessageId, RequestID, transfer->num_iso_packets,
|
||||
transfer->status, user_data->StartFrame, user_data->ErrorCount,
|
||||
user_data->OutputBufferSize);
|
||||
transfer->actual_length);
|
||||
user_data->data = NULL;
|
||||
HashTable_Remove(user_data->queue, (void*)(size_t)streamID);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue