[Bug 20591] New: FTBFS: g_warning misses a NULL second parameter.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 11 06:52:34 CET 2009


http://bugs.freedesktop.org/show_bug.cgi?id=20591

           Summary: FTBFS: g_warning misses a NULL second parameter.
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: medium
         Component: stream-engine
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: diegoe at gnome.org


Patch (against e4ae809764c46893c0d5610a8c51008381adc385):

diff --git a/telepathy-farsight/channel.c b/telepathy-farsight/channel.c
index 178a242..468925a 100644
--- a/telepathy-farsight/channel.c
+++ b/telepathy-farsight/channel.c
@@ -660,7 +660,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 (str, NULL);
       tf_channel_error (self, 0, str);
       g_free (str);
       return;
@@ -688,7 +688,7 @@ new_stream_cb (TfSession *session,
       gchar *str = g_strdup_printf ("Error creating stream: %s",
           error->message);
       g_clear_error (&error);
-      g_warning (str);
+      g_warning (str, NULL);
       tf_channel_error (self, 0, str);
       g_free (str);
       return;
@@ -766,7 +766,7 @@ add_session (TfChannel *self,
           " %s",
           error->message);
       g_error_free (error);
-      g_warning (str);
+      g_warning (str, NULL);
       tf_channel_error (self, 0, str);
       g_free (str);
       return;
@@ -779,7 +779,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 (str, NULL);
       tf_channel_error (self, 0, str);
       g_free (str);
       return;


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list