aboutsummaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authortenox <as@tenoware.com>2016-08-24 01:39:13 -0700
committertenox <as@tenoware.com>2016-08-24 01:39:13 -0700
commit33915f44e7ed939748ce8fe23c7e727b58d74542 (patch)
treed09a6ac8d0ab5c66eefafcee28413ff8d7340c9a /dir.c
parent6198d44fc66aef12a9e5226660cf3f2263225d13 (diff)
downloadwfm-33915f44e7ed939748ce8fe23c7e727b58d74542.tar.gz
fix upload of large files1.0.5
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index c22b4db..2573949 100644
--- a/dir.c
+++ b/dir.c
@@ -58,11 +58,11 @@ void dir_icoinita(void) {
void dirlist(void) {
ASDIR *direntry;
off_t size, totalsize=0;
- char highlight[VIRT_FILENAME_SIZE];
+ char highlight[VIRT_FILENAME_SIZE]={0};
char namepfx[1024], sizepfx[1024], datepfx[1024];
char rtime[64], mtime[64], atime[64];
char *stime;
- char sortby[64];
+ char sortby[64]={0};
char *name, *icon, *linecolor;
int nentr=0, e=0, n=1;
int editable;