Commit d65d509b authored by Zeeshan Ali (Khattak)'s avatar Zeeshan Ali (Khattak)
Browse files

Prefer g_strcmp0() over strcmp()

parent 68e763da
......@@ -41,7 +41,7 @@ xml_util_get_element (xmlNode *node,
for (node = node->children; node; node = node->next)
if (!strcmp (arg, (char *) node->name))
if (!g_strcmp0 (arg, (char *) node->name))
if (!node)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment