diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-03-18 17:29:59 +0200 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-03-18 17:29:59 +0200 |
commit | 6fae4cbe10ddb692f04846d1296058f1046b2486 (patch) | |
tree | 13fa8c0ef0ed9e9dabfec86d1c402aff9dcd1306 | |
parent | 55a79bde95af1f28379b25045e4686f598a54597 (diff) |
Shut up compiler warning about unsecure printf strings
-rw-r--r-- | telepathy-farsight/channel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/telepathy-farsight/channel.c b/telepathy-farsight/channel.c index a328142..a2a920f 100644 --- a/telepathy-farsight/channel.c +++ b/telepathy-farsight/channel.c @@ -669,7 +669,7 @@ new_stream_cb (TfSession *session, { gchar *str = g_strdup_printf ("failed to construct TpMediaStreamHandler:" " bad object path '%s'?", object_path); - g_warning (str); + g_warning ("%s", str); tf_channel_error (self, 0, str); g_free (str); return; @@ -767,7 +767,7 @@ add_session (TfChannel *self, " %s", error->message); g_error_free (error); - g_warning (str); + g_warning ("%s", str); tf_channel_error (self, 0, str); g_free (str); return; @@ -780,7 +780,7 @@ add_session (TfChannel *self, gchar *str = g_strdup_printf("failed to create session: %s", error->message); g_error_free (error); - g_warning (str); + g_warning ("%s", str); tf_channel_error (self, 0, str); g_free (str); return; |