diff options
| author | christos <christos@NetBSD.org> | 2011-08-21 09:03:20 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2011-08-21 09:03:20 +0000 |
| commit | 959be7edbbfaa8f734d20fd4f682258aeb0203cd (patch) | |
| tree | a8927d21200904ac30135f0cabca15427072d2d9 /libexec/httpd | |
| parent | c94ffe04c03d5f687dec9e880f78e18918b353fa (diff) | |
use const char [] for format.
Diffstat (limited to 'libexec/httpd')
| -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 d8702d55615..2878390a91f 100644 --- a/libexec/httpd/ssl-bozo.c +++ b/libexec/httpd/ssl-bozo.c @@ -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 @@ bozo_ssl_err(bozohttpd_t *httpd, int code, const char *fmt, ...) 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, |
