svn commit: samba r6930 - in branches/SAMBA_4_0/source: libcli/wins
utils
tpot at samba.org
tpot at samba.org
Sun May 22 09:43:20 GMT 2005
Author: tpot
Date: 2005-05-22 09:43:20 +0000 (Sun, 22 May 2005)
New Revision: 6930
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6930
Log:
Use NBT_NAME_CLIENT instead of the number 0.
Modified:
branches/SAMBA_4_0/source/libcli/wins/winsrepl.c
branches/SAMBA_4_0/source/utils/nmblookup.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/wins/winsrepl.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/wins/winsrepl.c 2005-05-22 08:15:10 UTC (rev 6929)
+++ branches/SAMBA_4_0/source/libcli/wins/winsrepl.c 2005-05-22 09:43:20 UTC (rev 6930)
@@ -603,7 +603,7 @@
if (len < 17) {
name->name = talloc_strndup(mem_ctx, namebuf, len);
- name->type = 0;
+ name->type = NBT_NAME_CLIENT;
name->scope = NULL;
return NT_STATUS_OK;
}
Modified: branches/SAMBA_4_0/source/utils/nmblookup.c
===================================================================
--- branches/SAMBA_4_0/source/utils/nmblookup.c 2005-05-22 08:15:10 UTC (rev 6929)
+++ branches/SAMBA_4_0/source/utils/nmblookup.c 2005-05-22 09:43:20 UTC (rev 6930)
@@ -108,7 +108,7 @@
NTSTATUS status;
io.in.name.name = "*";
- io.in.name.type = 0;
+ io.in.name.type = NBT_NAME_CLIENT;
io.in.name.scope = NULL;
io.in.dest_addr = addr;
io.in.timeout = 1;
More information about the samba-cvs
mailing list