]> Git repositories of Nishi - tewi.git/commitdiff
trying to fix haiku
authorNishi <nishi@nishi.boats>
Tue, 24 Sep 2024 20:15:17 +0000 (20:15 +0000)
committerNishi <nishi@nishi.boats>
Tue, 24 Sep 2024 20:15:17 +0000 (20:15 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@150 8739d7e6-ffea-ec47-b151-bdff447c6205

Common/dir.c
example.conf

index f830d9bdc26bc14f2caa2b914a2801566f5c0407..99b37e6acfa013fd043d22cfade0069f7cb0f28f 100644 (file)
@@ -54,6 +54,8 @@ char** cm_scandir(const char* path) {
                r[i + 1] = NULL;
                free(old);
 
+               closedir(dir);
+
                return r;
        } else {
                return NULL;
index 4b1ed3d39bf1f2d4b9af2b830f6124b631da94fa..36a9e6a30ae5c717cc419875caac9c065ea4fff7 100644 (file)
@@ -29,4 +29,4 @@ Readme README
 
 DocumentRoot /var/www
 
-ProxyPass
+#ProxyPass