diff options
| author | christos <christos@NetBSD.org> | 2011-08-14 11:38:11 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2011-08-14 11:38:11 +0000 |
| commit | 5ffbf761fa0a668fdecd12049bbca25cd1255b3f (patch) | |
| tree | 4de5f4d3645c793edb87e5bbc3e6613b941d9c53 | |
| parent | 5092aced51c1d483c119ce03788fb4165859f60b (diff) | |
XXX: gcc avoid non-literal strings
| -rw-r--r-- | libexec/httpd/ssl-bozo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/httpd/ssl-bozo.c b/libexec/httpd/ssl-bozo.c index c7a01939385..d8702d55615 100644 --- a/libexec/httpd/ssl-bozo.c +++ b/libexec/httpd/ssl-bozo.c @@ -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 @@ bozo_ssl_err(bozohttpd_t *httpd, int code, const char *fmt, ...) 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, |
