Removed info about transport type from GDBus-debug
authorLukasz Skalski <l.skalski@partner.samsung.com>
Fri, 4 Oct 2013 13:14:34 +0000 (15:14 +0200)
committerLukasz Skalski <l.skalski@partner.samsung.com>
Fri, 25 Oct 2013 14:45:52 +0000 (16:45 +0200)
gio/gdbusprivate.c
glib/gmain.c

index b128df2..6284aee 100644 (file)
@@ -2306,12 +2306,11 @@ write_message_print_transport_debug (gssize bytes_written,
   g_print ("========================================================================\n"
            "GDBus-debug:Transport:\n"
            "  >>>> WROTE %" G_GSIZE_FORMAT " bytes of message with serial %d and\n"
-           "       size %" G_GSIZE_FORMAT " from offset %" G_GSIZE_FORMAT " on a %s\n",
+           "       size %" G_GSIZE_FORMAT " from offset %" G_GSIZE_FORMAT "\n",
            bytes_written,
            g_dbus_message_get_serial (data->message),
            data->blob_size,
-           data->total_written,
-           g_type_name (G_TYPE_FROM_INSTANCE (g_io_stream_get_output_stream (data->worker->stream))));
+           data->total_written);
   _g_dbus_debug_print_unlock ();
  out:
   ;
@@ -2357,12 +2356,11 @@ read_message_print_transport_debug (gssize bytes_read,
   g_print ("========================================================================\n"
            "GDBus-debug:Transport:\n"
            "  <<<< READ %" G_GSIZE_FORMAT " bytes of message with serial %d and\n"
-           "       size %d to offset %" G_GSIZE_FORMAT " from a %s\n",
+           "       size %d to offset %" G_GSIZE_FORMAT "\n",
            bytes_read,
            serial,
            message_length,
-           worker->read_buffer_cur_size,
-           g_type_name (G_TYPE_FROM_INSTANCE (g_io_stream_get_input_stream (worker->stream))));
+           worker->read_buffer_cur_size);
   _g_dbus_debug_print_unlock ();
  out:
   ;
index 68a7f8e..1746762 100644 (file)
@@ -3692,7 +3692,14 @@ g_main_context_iterate (GMainContext *context,
 
   if (!block)
     timeout = 0;
-  
+  #ifdef KDBUS_DEBUG
+    g_print (" KDBUS_DEBUG: nfds=%d\n",nfds);
+    g_print (" KDBUS_DEBUG: fd[0]=%d\n",fds[0].fd);
+    g_print (" KDBUS_DEBUG: fd[1]=%d\n",fds[1].fd);
+    g_print (" KDBUS_DEBUG: fd[2]=%d\n",fds[2].fd);
+  #endif
+
   g_main_context_poll (context, timeout, max_priority, fds, nfds);
   
   some_ready = g_main_context_check (context, max_priority, fds, nfds);