Changed the definition of the linked list header used in the directory
authorChristopher R. Hertel <crh@samba.org>
Fri, 24 Jul 1998 07:43:13 +0000 (07:43 +0000)
committerChristopher R. Hertel <crh@samba.org>
Fri, 24 Jul 1998 07:43:13 +0000 (07:43 +0000)
cache so that it uses the new ubi_dlNewList() macro in ubi_dLinkList.h.
(This used to be commit 16f0ad0c913e2d5b0198409485c56ad4809ca077)

source3/smbd/dir.c

index 8296a90fa1264be3b246ddf30223b04a1666218d..ceb9ae7633b188f62cd2ae457768fa1fc90a1992 100644 (file)
@@ -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 )
   /* ------------------------------------------------------------------------ **