mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
coverity 226422
This commit is contained in:
parent
b6c683bd02
commit
755ac62ab8
1 changed files with 1 additions and 1 deletions
|
@ -532,7 +532,7 @@ static int CmdPing(const char *Cmd) {
|
||||||
error = memcmp(data, resp.data.asBytes, len) != 0;
|
error = memcmp(data, resp.data.asBytes, len) != 0;
|
||||||
PrintAndLogEx((error) ? ERR : SUCCESS, "Ping response " _GREEN_("received") "and content is %s", error ? _RED_("NOT ok") : _GREEN_("ok"));
|
PrintAndLogEx((error) ? ERR : SUCCESS, "Ping response " _GREEN_("received") "and content is %s", error ? _RED_("NOT ok") : _GREEN_("ok"));
|
||||||
} else {
|
} else {
|
||||||
PrintAndLogEx((error) ? ERR : SUCCESS, "Ping response " _GREEN_("received"));
|
PrintAndLogEx(SUCCESS, "Ping response " _GREEN_("received"));
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
PrintAndLogEx(WARNING, "Ping response " _RED_("timeout"));
|
PrintAndLogEx(WARNING, "Ping response " _RED_("timeout"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue