From 659668749cd72c10107aeebae67ca245b43df89a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 30 May 2017 23:50:02 +0200 Subject: [PATCH] Use string_is_equal here --- msg_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msg_hash.c b/msg_hash.c index ab27ba1e14..f297cf3546 100644 --- a/msg_hash.c +++ b/msg_hash.c @@ -140,7 +140,7 @@ const char *msg_hash_to_str(enum msg_hash_enums msg) } #endif - if (ret && string_is_not_equal_fast(ret, "null", 4)) + if (ret && !string_is_equal(ret, "null")) return ret; return msg_hash_to_str_us(msg);