fix irix compiler error
authorHerb Lewis <herb@samba.org>
Tue, 20 Aug 2002 00:20:23 +0000 (00:20 +0000)
committerHerb Lewis <herb@samba.org>
Tue, 20 Aug 2002 00:20:23 +0000 (00:20 +0000)
(This used to be commit 4df7983487545a432cfa8832eae1afbdf7866060)

source3/libsmb/namecache.c

index fc09d8eac2a0f264230214965c351876e7f02453..e69d4622687936c3a39b586ad19b7c5bf9011d2e 100644 (file)
@@ -29,7 +29,7 @@ static TDB_CONTEXT *namecache_tdb;
 struct nc_value {
        time_t expiry;               /* When entry expires */
        int count;                   /* Number of addresses */
-       struct in_addr ip_list[0];   /* Address list */
+       struct in_addr *ip_list;   /* Address list */
 };
 
 /* Initialise namecache system */