summaryrefslogtreecommitdiffstats
path: root/53.patch
blob: 41966632a25a67f71cc90639ca7b2fbf559628ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 045156077073514f5838c0f6c813f5a5b5cfcc1b Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Mon, 16 Sep 2019 10:44:33 +0200
Subject: [PATCH] fix format not a string literal and no format arguments

---
 lib/xlsxio_write.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/xlsxio_write.c b/lib/xlsxio_write.c
index 0cc0c5d..84dc493 100644
--- a/lib/xlsxio_write.c
+++ b/lib/xlsxio_write.c
@@ -858,7 +858,7 @@ void write_cell_data (xlsxiowriter handle, const char* rowattr, const char* pref
     if (data)
       fprintf(handle->pipe_write, "%s", data);
     if (suffix)
-      fprintf(handle->pipe_write, suffix);
+      fprintf(handle->pipe_write, "%s", suffix);
   } else {
     //add cell data to buffer
     if (prefix)