Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/httpd XXX: gcc avoid non-literal strings
details: https://anonhg.NetBSD.org/src/rev/beb833057d4d
branches: trunk
changeset: 768306:beb833057d4d
user: christos <christos%NetBSD.org@localhost>
date: Sun Aug 14 11:38:11 2011 +0000
description:
XXX: gcc avoid non-literal strings
diffstat:
libexec/httpd/ssl-bozo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c6d10432a1c8 -r beb833057d4d libexec/httpd/ssl-bozo.c
--- a/libexec/httpd/ssl-bozo.c Sun Aug 14 11:34:11 2011 +0000
+++ b/libexec/httpd/ssl-bozo.c Sun Aug 14 11:38:11 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ssl-bozo.c,v 1.8 2010/05/15 06:48:27 mrg Exp $ */
+/* $NetBSD: ssl-bozo.c,v 1.9 2011/08/14 11:38:11 christos Exp $ */
/* $eterna: ssl-bozo.c,v 1.13 2010/05/12 12:24:58 rtr Exp $ */
@@ -79,7 +79,7 @@
unsigned int sslcode = ERR_get_error();
do {
- const char *sslfmt = "SSL Error: %s:%s:%s";
+#define sslfmt "SSL Error: %s:%s:%s"
if (httpd->logstderr || isatty(STDERR_FILENO)) {
fprintf(stderr, sslfmt,
Home |
Main Index |
Thread Index |
Old Index