summaryrefslogtreecommitdiff
path: root/ftpfs
diff options
context:
space:
mode:
Diffstat (limited to 'ftpfs')
-rw-r--r--ftpfs/dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftpfs/dir.c b/ftpfs/dir.c
index 5cde61a6..4b79eae6 100644
--- a/ftpfs/dir.c
+++ b/ftpfs/dir.c
@@ -137,6 +137,7 @@ lookup (struct ftpfs_dir *dir, const char *name, int add)
{
e->hv = hv;
e->name = strdup (name);
+ e->node = 0;
e->dir = dir;
e->stat_timestamp = 0;
bzero (&e->stat, sizeof e->stat);