diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-03-18 14:39:58 +0000 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-03-18 14:39:58 +0000 |
commit | 5c679af0df3ea3ddffdf5af3bf7d1a1caeab4ba6 (patch) | |
tree | 0204e34e962aae3d0616bd75bff6c2124f7e9d84 /src/conn-olpc.c | |
parent | 79acf41e11bb5c0d18e199812022707f8a47748d (diff) |
check_activity_properties: check pubsub_query return value
Diffstat (limited to 'src/conn-olpc.c')
-rw-r--r-- | src/conn-olpc.c | 7 |
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"); + } } } |