Signed-off-by: Katerina Koukiou <kkoukiou(a)redhat.com>
---
src/util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util.c b/src/util.c
index 34ab83a..b21f2c5 100644
--- a/src/util.c
+++ b/src/util.c
@@ -146,7 +146,7 @@ virtDBusUtilEnumFromString(const gchar *const *types,
return -1;
for (i = 0; i < ntypes; i++)
- if (g_str_equal(types[i], type) == 0)
+ if (g_str_equal(types[i], type))
return i;
return -1;
--
2.15.0