From 890188d9a3fc1648d1dfc13dff98810a385da612 Mon Sep 17 00:00:00 2001 From: Nishi Date: Tue, 24 Sep 2024 20:15:17 +0000 Subject: [PATCH] trying to fix haiku git-svn-id: file:///raid/svn-personal/tewi/trunk@150 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Common/dir.c | 2 ++ example.conf | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Common/dir.c b/Common/dir.c index f830d9b..99b37e6 100644 --- a/Common/dir.c +++ b/Common/dir.c @@ -54,6 +54,8 @@ char** cm_scandir(const char* path) { r[i + 1] = NULL; free(old); + closedir(dir); + return r; } else { return NULL; diff --git a/example.conf b/example.conf index 4b1ed3d..36a9e6a 100644 --- a/example.conf +++ b/example.conf @@ -29,4 +29,4 @@ Readme README DocumentRoot /var/www -ProxyPass +#ProxyPass -- 2.43.0