[Spice-commits] server/red-worker.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Mar 17 08:34:43 UTC 2020
server/red-worker.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3f851e4f5c5670a8454775f64d6dbca8834c3e5b
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Sun Mar 15 15:30:44 2020 +0000
red-worker: Fix debugging code
If file was compiled with DEBUG defined code did not compile.
Update code of the surrounded section.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/server/red-worker.c b/server/red-worker.c
index 12a8e739..1cb240d5 100644
--- a/server/red-worker.c
+++ b/server/red-worker.c
@@ -236,7 +236,7 @@ static int red_process_display(RedWorker *worker, int *ring_is_empty)
break;
}
#ifdef DEBUG
- spice_warning("MESSAGE: %.*s", message.len, message.data);
+ spice_warning("MESSAGE: %.*s", message->len, message->data);
#endif
red_message_unref(message);
break;
More information about the Spice-commits
mailing list