nfc_target_receive_bytes() function does not now use pszRx as parameter because this function returns it.
This commit is contained in:
parent
7e7ee3299e
commit
642f9a38f7
11 changed files with 25 additions and 26 deletions
|
|
@ -125,7 +125,7 @@ main (int argc, const char *argv[])
|
|||
}
|
||||
|
||||
printf("Initiator request received. Waiting for data...\n");
|
||||
if (nfc_target_receive_bytes (pnd, abtRx, &szRx, 0) < 0) {
|
||||
if (((int) (szRx = (size_t) nfc_target_receive_bytes (pnd, abtRx, 0))) < 0) {
|
||||
nfc_perror(pnd, "nfc_target_receive_bytes");
|
||||
goto error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue