Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/httpd use const char [] for format.



details:   https://anonhg.NetBSD.org/src/rev/f37af1f7d636
branches:  trunk
changeset: 768575:f37af1f7d636
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Aug 21 09:03:20 2011 +0000

description:
use const char [] for format.

diffstat:

 libexec/httpd/ssl-bozo.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 78745a5f368a -r f37af1f7d636 libexec/httpd/ssl-bozo.c
--- a/libexec/httpd/ssl-bozo.c  Sun Aug 21 08:59:50 2011 +0000
+++ b/libexec/httpd/ssl-bozo.c  Sun Aug 21 09:03:20 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ssl-bozo.c,v 1.9 2011/08/14 11:38:11 christos Exp $    */
+/*     $NetBSD: ssl-bozo.c,v 1.10 2011/08/21 09:03:20 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 {
-#define        sslfmt "SSL Error: %s:%s:%s"
+               static conar char sslfmt[] = "SSL Error: %s:%s:%s";
 
                if (httpd->logstderr || isatty(STDERR_FILENO)) {
                        fprintf(stderr, sslfmt,



Home | Main Index | Thread Index | Old Index