first pass at updating head branch to be to be the same as the SAMBA_2_0 branch
[sfrench/samba-autobuild/.git] / source3 / nmbd / nmbd_namequery.c
index fae045882f24a8f22d691a38f312e5352d3b827d..8c4155484212a69864cf90bc5595440be55c9c03 100644 (file)
@@ -193,7 +193,7 @@ BOOL query_name(struct subnet_record *subrec, char *name, int type,
     struct res_rec rrec;
     int i;
 
-    bzero((char *)&rrec, sizeof(struct res_rec));
+    memset((char *)&rrec, '\0', sizeof(struct res_rec));
 
     /* Fake up the needed res_rec just in case it's used. */
     rrec.rr_name = nmbname;