INN commit: trunk/tests/nnrpd (auth-ext-t.c)
INN Commit
rra at isc.org
Mon Oct 27 19:43:54 UTC 2014
Date: Monday, October 27, 2014 @ 12:43:54
Author: iulius
Revision: 9732
Fixed a format-nonliteral warning
Modified:
trunk/tests/nnrpd/auth-ext-t.c
--------------+
auth-ext-t.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: auth-ext-t.c
===================================================================
--- auth-ext-t.c 2014-10-27 19:42:34 UTC (rev 9731)
+++ auth-ext-t.c 2014-10-27 19:43:54 UTC (rev 9732)
@@ -84,7 +84,7 @@
ok_string(n++, user, result);
ok_string(n++, error, errors);
if (errors && (error == NULL || strcmp(error, errors) != 0))
- warn(errors);
+ warn("%s", errors);
free(errors);
errors = NULL;
@@ -95,7 +95,7 @@
ok_string(n++, user, result);
ok_string(n++, error, errors);
if (errors && (error == NULL || strcmp(error, errors) != 0))
- warn(errors);
+ warn("%s", errors);
free(errors);
errors = NULL;
More information about the inn-committers
mailing list