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

Alon Levy alevy at redhat.com
Thu Jul 7 09:33:25 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 9a61e86..8ae89a2 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -9140,7 +9140,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);
     }
 }
@@ -9302,7 +9302,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.5.4



More information about the Spice-devel mailing list