mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-13 00:33:01 -07:00
fixed assignment vs. equals operator (issue 35)
This commit is contained in:
parent
7853775ee2
commit
db389d52cc
1 changed files with 1 additions and 1 deletions
|
@ -1917,7 +1917,7 @@ void ReaderMifare(uint32_t parameter)
|
||||||
{
|
{
|
||||||
if ( (parameter != 0) && (memcmp(nt, nt_noattack, 4) == 0) ) continue;
|
if ( (parameter != 0) && (memcmp(nt, nt_noattack, 4) == 0) ) continue;
|
||||||
|
|
||||||
isNULL = (nt_attacked[0] = 0) && (nt_attacked[1] = 0) && (nt_attacked[2] = 0) && (nt_attacked[3] = 0);
|
isNULL = (nt_attacked[0] == 0) && (nt_attacked[1] == 0) && (nt_attacked[2] == 0) && (nt_attacked[3] == 0);
|
||||||
if ( (isNULL != 0 ) && (memcmp(nt, nt_attacked, 4) != 0) ) continue;
|
if ( (isNULL != 0 ) && (memcmp(nt, nt_attacked, 4) != 0) ) continue;
|
||||||
|
|
||||||
if (nt_diff == 0)
|
if (nt_diff == 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue