git.samba.org
/
kai
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
first pass at updating head branch to be to be the same as the SAMBA_2_0 branch
[kai/samba-autobuild/.git]
/
source
/
nmbd
/
nmbd_namequery.c
diff --git
a/source/nmbd/nmbd_namequery.c
b/source/nmbd/nmbd_namequery.c
index fae045882f24a8f22d691a38f312e5352d3b827d..8c4155484212a69864cf90bc5595440be55c9c03 100644
(file)
--- a/
source/nmbd/nmbd_namequery.c
+++ b/
source/nmbd/nmbd_namequery.c
@@
-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;