aboutsummaryrefslogtreecommitdiff
path: root/libindicate
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-13 14:16:25 -0500
committerTed Gould <ted@canonical.com>2009-04-13 14:16:25 -0500
commit135906b4b250f8c5be3a1a157d77c689313f381a (patch)
tree85bf4719eb36e9226e1519a601fb989e9b1bff2c /libindicate
parentdec69be399365590e8bc5140f470aafd805ff17d (diff)
downloadlibayatana-indicator-135906b4b250f8c5be3a1a157d77c689313f381a.tar.gz
libayatana-indicator-135906b4b250f8c5be3a1a157d77c689313f381a.tar.bz2
libayatana-indicator-135906b4b250f8c5be3a1a157d77c689313f381a.zip
Ah, a typo. Bother.
Diffstat (limited to 'libindicate')
-rw-r--r--libindicate/listener.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libindicate/listener.c b/libindicate/listener.c
index fd35d66..5ae3e09 100644
--- a/libindicate/listener.c
+++ b/libindicate/listener.c
@@ -1073,7 +1073,7 @@ introspect_this (DBusGProxy * proxy, char * OUT_data, GError * error, gpointer d
/* Check for root being "node" */
xmlNodePtr root = xmlDocGetRootElement(xmldoc);
- if (g_strcmp(root->name, "node") != 0) {
+ if (g_strcmp0(root->name, "node") != 0) {
xmlFreeDoc(xmldoc);
g_warning("Introspection data from %s is not valid: %s", server->name, OUT_data);
return;