first pass at updating head branch to be to be the same as the SAMBA_2_0 branch
[kai/samba.git] / source3 / nmbd / nmbd_browserdb.c
index 12ce00df4f2eb495942c654f67e393e8aa6f2ee2..10d22431e9178e4cb3b4af062ee60a1623e05831 100644 (file)
@@ -99,7 +99,7 @@ struct browse_cache_record *create_browser_in_lmb_cache( char *work_name,
     return( NULL );
     }
 
-  bzero( (char *)browc, sizeof( *browc ) );
+  memset( (char *)browc, '\0', sizeof( *browc ) );
   
   /* For a new lmb entry we want to sync with it after one minute. This
      will allow it time to send out a local announce and build its