4ZM / mfterm

Terminal for working with Mifare Classic 1-4k Tags
GNU General Public License v3.0
149 stars 36 forks source link

Fixes compilation issue + proper detection of 4K tags #1

Closed jchillerup closed 12 years ago

jchillerup commented 12 years ago

There was a bug in mfterm that caused an error to be thrown even if it was previously established what to do. The bug was a result of using if instead of else if.

if (condition)
    something()
if (other_condition)
    something_else()
else 
    display_error()

Also, now mfterm includes stdio so it has access til FILE.

4ZM commented 12 years ago

Merged - thnx jc