fix #2900 - bad compare

This commit is contained in:
iceman1001 2025-06-12 13:56:49 +02:00
commit 4725ae5c22

View file

@ -1596,7 +1596,7 @@ void pm3_version_short(void) {
PrintAndLogEx(NORMAL, " Client.... %s", temp); PrintAndLogEx(NORMAL, " Client.... %s", temp);
bool armsrc_mismatch = false; bool armsrc_mismatch = false;
char *ptr = strstr(payload->versionstr, " os: "); char *ptr = strstr(payload->versionstr, "OS......... ");
if (ptr != NULL) { if (ptr != NULL) {
ptr = strstr(ptr, "\n"); ptr = strstr(ptr, "\n");
if ((ptr != NULL) && (strlen(g_version_information.armsrc) == 9)) { if ((ptr != NULL) && (strlen(g_version_information.armsrc) == 9)) {