nfc-relay-picc: Fix received bytes count

This commit is contained in:
Philippe Teuwen 2013-01-22 00:54:47 +01:00
parent 9815ac728f
commit 0ac3b26982

View file

@ -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 {