Skip to content

Commit

Permalink
Fixed missprint
Browse files Browse the repository at this point in the history
  • Loading branch information
lunixoid committed Oct 29, 2017
1 parent 69bf99b commit f372c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libfreefare/mifare_classic.c
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ mifare_classic_transfer(FreefareTag tag, const MifareClassicBlockNumber block)
* meaning that the action was performed correctly (e.g. Snapper Feeder,
* SCL 3711).
*/
if (!BUFFER_SIZE(res) || ((BUFFER_SIZE(res) == 1) && (res[0] = MC_OK)))
if (!BUFFER_SIZE(res) || ((BUFFER_SIZE(res) == 1) && (res[0] == MC_OK)))
return 0;
else
return res[0];
Expand Down

0 comments on commit f372c75

Please sign in to comment.