summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 367ab3e..8ccb06b 100644
--- a/file.c
+++ b/file.c
@@ -446,7 +446,7 @@ static void uh_file_dirlist(struct client *cl, struct path_info *pi)
{
int i;
int count = 0;
- char filename[PATH_MAX];
+ char *filename = uh_buf;
char *pathptr;
struct dirent **files = NULL;
struct stat s;