[Telepathy-commits] [telepathy-salut/master] salut-olpc-activity: fix build errors
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Mon Dec 22 07:37:50 PST 2008
---
src/salut-olpc-activity.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/salut-olpc-activity.c b/src/salut-olpc-activity.c
index 3a44e87..55d5a63 100644
--- a/src/salut-olpc-activity.c
+++ b/src/salut-olpc-activity.c
@@ -326,7 +326,8 @@ send_properties_change_msg (SalutOlpcActivity *self,
result = gibber_muc_connection_send (muc_connection, stanza, &err);
if (!result)
{
- g_set_error (error, TP_ERRORS, TP_ERROR_NETWORK_ERROR, err->message);
+ g_set_error (error, TP_ERRORS, TP_ERROR_NETWORK_ERROR, "%s",
+ err->message);
g_error_free (err);
}
@@ -404,7 +405,8 @@ salut_olpc_activity_announce (SalutOlpcActivity *self,
if (!SALUT_OLPC_ACTIVITY_GET_CLASS (self)->announce (self, &err))
{
- g_set_error (error, TP_ERRORS, TP_ERROR_NETWORK_ERROR, err->message);
+ g_set_error (error, TP_ERRORS, TP_ERROR_NETWORK_ERROR, "%s",
+ err->message);
g_error_free (err);
return FALSE;
}
--
1.5.6.5
More information about the Telepathy-commits
mailing list