Signed-off-by: Katerina Koukiou <kkoukiou@xxxxxxxxxx> --- 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 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list