From f40d75f98d2e4038edcd251166a80746991d6dd7 Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Wed, 20 Sep 2006 19:04:36 +0000 Subject: [PATCH] fixed crash with invalid hostmask is used (fixes #854) git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1321 152afb58-edef-0310-8abb-c4023f1b3aa9 --- src/configfile-glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configfile-glue.c b/src/configfile-glue.c index 6d5132a3..dd17ea43 100644 --- a/src/configfile-glue.c +++ b/src/configfile-glue.c @@ -269,7 +269,7 @@ static cond_result_t config_check_cond_nocache(server *srv, connection *con, dat nm_bits = strtol(nm_slash + 1, &err, 10); if (*err) { - log_error_write(srv, __FILE__, __LINE__, "sbs", "ERROR: non-digit found in netmask:", dc->string, *err); + log_error_write(srv, __FILE__, __LINE__, "sbs", "ERROR: non-digit found in netmask:", dc->string, err); return COND_RESULT_FALSE; }