xmlrpc-c/xmlrpc-c-format-security-warning.patch
Mikolaj Izdebski d2a7787f4a Add patch to silence format-security compiler warning
- Resolves: rhbz#1037399
2014-03-28 15:58:12 +01:00

14 lines
450 B
Diff

diff --git a/src/xmlrpc_server_abyss.c b/src/xmlrpc_server_abyss.c
index 614f64b..998290f 100644
--- a/src/xmlrpc_server_abyss.c
+++ b/src/xmlrpc_server_abyss.c
@@ -776,7 +776,7 @@ createServer(xmlrpc_env * const envP,
ServerInit2(abyssServerP, &error);
if (error) {
- xmlrpc_faultf(envP, error);
+ xmlrpc_faultf(envP, "%s", error);
xmlrpc_strfree(error);
}
}