summaryrefslogtreecommitdiff
path: root/src/conn-olpc.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2008-12-10 14:07:50 +0000
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2008-12-10 14:07:50 +0000
commit2c335975279f4482e280d4864dd5447cd68caef6 (patch)
tree4385e43145745a7b6f911799c34bc7967ef7bcc9 /src/conn-olpc.c
parent2e7b72b164f3ef61f595783780e9429572170e39 (diff)
check_gadget_buddy: don't print debug message so we don't flood log with it each time we receive a presence
Diffstat (limited to 'src/conn-olpc.c')
-rw-r--r--src/conn-olpc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/conn-olpc.c b/src/conn-olpc.c
index 051d7d95..930858aa 100644
--- a/src/conn-olpc.c
+++ b/src/conn-olpc.c
@@ -157,7 +157,6 @@ check_gadget_buddy (GabbleConnection *conn,
if (conn->olpc_gadget_buddy != NULL)
return TRUE;
- DEBUG ("%s", error.message);
if (context != NULL)
dbus_g_method_return_error (context, &error);
@@ -3682,7 +3681,10 @@ olpc_gadget_publish (GabbleSvcOLPCGadget *iface,
GError *error = NULL;
if (!check_gadget_buddy (conn, context))
- return;
+ {
+ DEBUG ("Server does not provide Gadget Buddy service");
+ return;
+ }
conn->olpc_gadget_publish = publish;