]> granicus.if.org Git - apache/commitdiff
* We need to return an int not a pointer!
authorRuediger Pluem <rpluem@apache.org>
Tue, 20 Jan 2009 21:22:10 +0000 (21:22 +0000)
committerRuediger Pluem <rpluem@apache.org>
Tue, 20 Jan 2009 21:22:10 +0000 (21:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@736110 13f79535-47bb-0310-9956-ffa450edef68

server/log.c

index 5de7bb89fc2c9eb7c0bd25cf6fc7cf410573ea3d..4fdd05ac92e381e24cf58101de4b5c46503ec05c 100644 (file)
@@ -340,7 +340,7 @@ static int open_error_log(server_rec *s, int is_main, apr_pool_t *p)
             ap_log_error(APLOG_MARK, APLOG_STARTUP, APR_EBADPATH, NULL,
                          "%s: Invalid error log path '%s'.",
                          ap_server_argv0, s->error_fname);
-            return NULL;
+            return DONE;
         }
 
         /* Spawn a new child logger.  If this is the main server_rec,