[Spice-commits] server/red_replay_qxl.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Tue Sep 8 02:16:57 PDT 2015


 server/red_replay_qxl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f0acfbc6398a405393cc4dd84a03624196abf668
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Fri Sep 4 10:58:20 2015 +0100

    replay: fix formatting string
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/server/red_replay_qxl.c b/server/red_replay_qxl.c
index fe53dda..ad1a8fd 100644
--- a/server/red_replay_qxl.c
+++ b/server/red_replay_qxl.c
@@ -310,7 +310,7 @@ static void red_replay_rect_ptr(SpiceReplay *replay, const char *prefix, QXLRect
 {
     char template[1024];
 
-    snprintf(template, sizeof(template), "rect %s %%d %%d %%d %%d %%d", prefix);
+    snprintf(template, sizeof(template), "rect %s %%d %%d %%d %%d\n", prefix);
     replay_fscanf(replay, template, &qxl->top, &qxl->left, &qxl->bottom, &qxl->right);
 }
 


More information about the Spice-commits mailing list