summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/dir.c b/ext/standard/dir.c
index cfa792f477..7a2cb4028d 100644
--- a/ext/standard/dir.c
+++ b/ext/standard/dir.c
@@ -401,10 +401,10 @@ PHP_FUNCTION(glob)
}
#ifndef GLOB_NOMATCH
- // now catch the FreeBSD style of "no matches"
+ /* now catch the FreeBSD style of "no matches" */
if (!globbuf.gl_pathc) {
- array_init(return_value);
- return;
+ array_init(return_value);
+ return;
}
#endif