Changeset: 150685097011 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=150685097011
Modified Files:
        clients/mapiclient/mclient.c
Branch: Oct2014
Log Message:

Only use constant strings for format string arguments.


diffs (12 lines):

diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c
--- a/clients/mapiclient/mclient.c
+++ b/clients/mapiclient/mclient.c
@@ -910,7 +910,7 @@ TESTrenderer(MapiHdl hdl)
                        mnstr_printf(toConsole, "%s", sep);
                        sep = ",\t";
                        if (s == NULL)
-                               mnstr_printf(toConsole, mode == SQL ? "NULL" : 
"nil");
+                               mnstr_printf(toConsole, "%s", mode == SQL ? 
"NULL" : "nil");
                        else if (strcmp(tp, "varchar") == 0 ||
                                 strcmp(tp, "char") == 0 ||
                                 strcmp(tp, "clob") == 0 ||
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to