From 9d235504246a9270f72052bbbdae77999add2478 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 7 May 2021 10:07:01 +0200 Subject: [PATCH] fix wrong return type --- client/src/cmdhf14b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdhf14b.c b/client/src/cmdhf14b.c index 77281abb4..2473332d4 100644 --- a/client/src/cmdhf14b.c +++ b/client/src/cmdhf14b.c @@ -994,7 +994,7 @@ static bool HF14B_other_reader(bool verbose) { iso14b_raw_cmd_t *packet = (iso14b_raw_cmd_t *)calloc(1, sizeof(iso14b_raw_cmd_t) + 4); if (packet == NULL) { PrintAndLogEx(FAILED, "failed to allocate memory"); - return PM3_EMALLOC; + return false; } packet->flags = (ISO14B_CONNECT | ISO14B_SELECT_STD | ISO14B_RAW | ISO14B_APPEND_CRC); packet->timeout = 0;