summaryrefslogtreecommitdiff
path: root/src/conn-olpc.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-03-18 14:39:58 +0000
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-03-18 14:39:58 +0000
commit5c679af0df3ea3ddffdf5af3bf7d1a1caeab4ba6 (patch)
tree0204e34e962aae3d0616bd75bff6c2124f7e9d84 /src/conn-olpc.c
parent79acf41e11bb5c0d18e199812022707f8a47748d (diff)
check_activity_properties: check pubsub_query return value
Diffstat (limited to 'src/conn-olpc.c')
-rw-r--r--src/conn-olpc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/conn-olpc.c b/src/conn-olpc.c
index d2d5e8b0f..58ccdd807 100644
--- a/src/conn-olpc.c
+++ b/src/conn-olpc.c
@@ -846,8 +846,11 @@ check_activity_properties (GabbleConnection *conn,
if (query_needed)
{
- pubsub_query (conn, from, NS_OLPC_ACTIVITY_PROPS,
- get_activity_properties_reply_cb, NULL);
+ if (!pubsub_query (conn, from, NS_OLPC_ACTIVITY_PROPS,
+ get_activity_properties_reply_cb, NULL))
+ {
+ DEBUG ("Failed to send activity properties request to server");
+ }
}
}