summaryrefslogtreecommitdiff
path: root/main/php_scandir.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_scandir.c')
-rw-r--r--main/php_scandir.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/php_scandir.c b/main/php_scandir.c
index 5275f3ddd3..4450a18be4 100644
--- a/main/php_scandir.c
+++ b/main/php_scandir.c
@@ -1,4 +1,4 @@
-/*
+/*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
@@ -35,7 +35,7 @@
#ifdef PHP_WIN32
#include "win32/param.h"
#include "win32/readdir.h"
-#endif
+#endif
#include <stdlib.h>
#ifndef NETWARE
@@ -86,7 +86,7 @@ PHPAPI int php_scandir(const char *dirname, struct dirent **namelist[], int (*se
struct dirent **newv;
if (vector_size == 0) {
vector_size = 10;
- } else {
+ } else {
vector_size *= 2;
}
@@ -122,7 +122,7 @@ fail:
free(vector[nfiles]);
}
free(vector);
- return -1;
+ return -1;
}
#endif