mirror of
https://github.com/nfc-tools/mfcuk.git
synced 2026-02-18 02:55:49 +00:00
Update nfc-utils.c for latest libnfc (Fixes Issue 10)
Thanks to maxx.
This commit is contained in:
parent
f60206aeba
commit
56eafde34b
@ -210,8 +210,7 @@ nfc_device_desc_t* parse_device_desc(int argc, const char *argv[], size_t* szFou
|
|||||||
strcpy(pndd->pcDriver, strtok(buffer, ":"));
|
strcpy(pndd->pcDriver, strtok(buffer, ":"));
|
||||||
|
|
||||||
// Port.
|
// Port.
|
||||||
pndd->pcPort = (char *)malloc(256);
|
strcpy(pndd->acPort, strtok(NULL, ":"));
|
||||||
strcpy(pndd->pcPort, strtok(NULL, ":"));
|
|
||||||
|
|
||||||
// Speed.
|
// Speed.
|
||||||
sscanf(strtok(NULL, ":"), "%u", &pndd->uiSpeed);
|
sscanf(strtok(NULL, ":"), "%u", &pndd->uiSpeed);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user