mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-19 08:16:35 +00:00
nfc-relay-picc: Fix received bytes count
This commit is contained in:
@@ -428,7 +428,7 @@ main(int argc, char *argv[])
|
||||
if ((res = nfc_initiator_transceive_bytes(pndInitiator, abtCapdu, szCapduLen, abtRapdu, sizeof(abtRapdu), -1) < 0)) {
|
||||
ret = false;
|
||||
} else {
|
||||
szCapduLen = (size_t) res;
|
||||
szRapduLen = (size_t) res;
|
||||
ret = true;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user