Use string_is_equal here
This commit is contained in:
parent
1af6d8a59f
commit
659668749c
|
@ -140,7 +140,7 @@ const char *msg_hash_to_str(enum msg_hash_enums msg)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (ret && string_is_not_equal_fast(ret, "null", 4))
|
if (ret && !string_is_equal(ret, "null"))
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
return msg_hash_to_str_us(msg);
|
return msg_hash_to_str_us(msg);
|
||||||
|
|
Loading…
Reference in New Issue