[Spice-devel] [PATCH v5 1/9] server/red_worker: *_release_item: less frequent debug messages

Alon Levy alevy at redhat.com
Tue Jul 19 01:52:55 PDT 2011


---
 server/red_worker.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/red_worker.c b/server/red_worker.c
index bfb3cf9..8337a9b 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -9149,7 +9149,7 @@ static void display_channel_release_item(RedChannel *channel, PipeItem *item, in
     if (item_pushed) {
         display_channel_release_item_after_push((DisplayChannel *)channel, item);
     } else {
-        red_printf("not pushed");
+        red_printf_once("not pushed (%d)", item->type);
         display_channel_release_item_before_push((DisplayChannel *)channel, item);
     }
 }
@@ -9311,7 +9311,7 @@ static void cursor_channel_release_item(RedChannel *channel, PipeItem *item, int
     if (item_pushed) {
         cursor_channel_release_item_after_push((CursorChannel *)channel, item);
     } else {
-        red_printf("not pushed");
+        red_printf_once("not pushed (%d)", item->type);
         cursor_channel_release_item_before_push((CursorChannel *)channel, item);
     }
 }
-- 
1.7.6



More information about the Spice-devel mailing list