git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6e801b
)
NBT-WINS: initialize .dest_port explicit (we should fill the whole struct each time)
author
Stefan Metzmacher
<metze@samba.org>
Sat, 17 Jan 2009 09:06:08 +0000
(10:06 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 19 Jan 2009 06:05:20 +0000
(07:05 +0100)
This makes the code more clear.
metze
source4/torture/nbt/wins.c
patch
|
blob
|
history
diff --git
a/source4/torture/nbt/wins.c
b/source4/torture/nbt/wins.c
index 0399daedf05204c986593448a2a32af566cb4a19..242c72e37d378b17a18ad1590557bd21614ec298 100644
(file)
--- a/
source4/torture/nbt/wins.c
+++ b/
source4/torture/nbt/wins.c
@@
-181,6
+181,7
@@
static bool nbt_test_wins_name(struct torture_context *tctx, const char *address
torture_comment(tctx, "release the name\n");
release.in.name = *name;
+ release.in.dest_port = lp_nbt_port(tctx->lp_ctx);
release.in.dest_addr = address;
release.in.address = myaddress;
release.in.nb_flags = nb_flags;