From c3617eb632043fcd70ffa8b6c430cb15625c23da Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Sat, 21 Feb 2004 15:53:49 +0000 Subject: [PATCH] ugh! Fix log open error condition, which never matched. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102728 13f79535-47bb-0310-9956-ffa450edef68 --- modules/loggers/mod_log_forensic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/loggers/mod_log_forensic.c b/modules/loggers/mod_log_forensic.c index 93e53d4c00..c125cd2ed7 100644 --- a/modules/loggers/mod_log_forensic.c +++ b/modules/loggers/mod_log_forensic.c @@ -90,8 +90,7 @@ static void open_log(server_rec *s, apr_pool_t *p) if ((rv = apr_file_open(&cfg->fd, fname, APR_WRITE | APR_APPEND | APR_CREATE, - APR_OS_DEFAULT, p) != APR_SUCCESS) - < 0) { + APR_OS_DEFAULT, p)) != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, "could not open forensic log file %s.", fname); exit(1); -- 2.50.1