[PATCH] replay: fix formatting string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 server/red_replay_qxl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 }
 
-- 
2.4.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]