summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod_glusterfs/apache/2.2/src/mod_glusterfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod_glusterfs/apache/2.2/src/mod_glusterfs.c b/mod_glusterfs/apache/2.2/src/mod_glusterfs.c
index 9beb16ac3c2..a89e1c7b3ed 100644
--- a/mod_glusterfs/apache/2.2/src/mod_glusterfs.c
+++ b/mod_glusterfs/apache/2.2/src/mod_glusterfs.c
@@ -2999,7 +2999,7 @@ mod_glfs_index_directory (request_rec *r,
break;
}
- fname = apr_pstrcat (r->pool, path, entry.d_name);
+ fname = apr_pstrcat (r->pool, path, entry.d_name, NULL);
ret = glusterfs_stat (fname, &st);
if (ret != 0) {