summaryrefslogtreecommitdiff
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
commit48a378f0674de0bdd3ee7d2147862179d55e4e56 (patch)
treed7a91494273b404525367dc3b63e3e2ccb0e0a5a
parent5a9f14bca97a41c614dbc21707cfbaef7d626869 (diff)
downloadsamba-48a378f0674de0bdd3ee7d2147862179d55e4e56.tar.gz
samba-48a378f0674de0bdd3ee7d2147862179d55e4e56.tar.bz2
samba-48a378f0674de0bdd3ee7d2147862179d55e4e56.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. (This used to be commit 16f0ad0c913e2d5b0198409485c56ad4809ca077)
-rw-r--r--source3/smbd/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index 8296a90fa1..ceb9ae7633 100644
--- a/source3/smbd/dir.c
+++ b/source3/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 )
/* ------------------------------------------------------------------------ **