summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>1998-07-24 07:43:13 +0000
committerChristopher R. Hertel <crh@samba.org>1998-07-24 07:43:13 +0000
commit16f0ad0c913e2d5b0198409485c56ad4809ca077 (patch)
treea420e018f1882a0238524e2bb19578d7a1ff36e4
parent3c133778f13f690e70b8b5b923e10b5fe561c812 (diff)
downloadsamba-16f0ad0c913e2d5b0198409485c56ad4809ca077.tar.gz
samba-16f0ad0c913e2d5b0198409485c56ad4809ca077.tar.xz
samba-16f0ad0c913e2d5b0198409485c56ad4809ca077.zip
Changed the definition of the linked list header used in the directory
cache so that it uses the new ubi_dlNewList() macro in ubi_dLinkList.h.
-rw-r--r--source/smbd/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/dir.c b/source/smbd/dir.c
index 8296a90fa12..ceb9ae7633b 100644
--- a/source/smbd/dir.c
+++ b/source/smbd/dir.c
@@ -638,7 +638,7 @@ typedef struct
int snum;
} dir_cache_entry;
-static ubi_dlList dir_cache[1] = { { NULL, NULL, 0 } };
+static ubi_dlNewList( dir_cache );
void DirCacheAdd( char *path, char *name, char *dname, int snum )
/* ------------------------------------------------------------------------ **