nfctool: sniffer: Fix ndef read-ahead check macro
authorThierry Escande <thierry.escande@linux.intel.com>
Tue, 25 Jun 2013 13:41:09 +0000 (15:41 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 25 Jun 2013 14:32:08 +0000 (16:32 +0200)
commitf12b2300c14c87e2af7397fe39f4b9840fd97212
treed3afd6c6d4e1274fae66696406afeb0cab906709
parent04e9d5867181807acae3b89f8ebc1f517c246933
nfctool: sniffer: Fix ndef read-ahead check macro

This macro checks if we can safely read the next field in a ndef
record. So the check needs to be done at the current read position
in the current record.
tools/nfctool/ndef-decode.c