summaryrefslogtreecommitdiff
path: root/ftpfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-08-06 22:30:25 +0000
committerMiles Bader <miles@gnu.org>1997-08-06 22:30:25 +0000
commit402a8cec11de00a93356584c5acccb2fb67318de (patch)
tree436f3a9e5cd1be19e65372d13bb005d3628bf4ca /ftpfs
parent85d3322a54551d2769a279788257e5af8ec88126 (diff)
(lookup):
Initialize the NODE field.
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);