summaryrefslogtreecommitdiffstats
path: root/source/nameresp.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-05-20 00:32:51 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-05-20 00:32:51 +0000
commit2a1711eaaf08bb6776770cd3c96b3010f431a677 (patch)
tree99caacb23ae749ca87abc2ba0642bde29fcec224 /source/nameresp.c
parentc0bae276a99211c0c7149a5e4e801706870074fd (diff)
downloadsamba-2a1711eaaf08bb6776770cd3c96b3010f431a677.tar.gz
samba-2a1711eaaf08bb6776770cd3c96b3010f431a677.tar.xz
samba-2a1711eaaf08bb6776770cd3c96b3010f431a677.zip
dir.c: Fixed double slash issue.
includes.h: Changed to ifdef FAST_SHARE_MODES. ipc.c: Changed lp_workgroup() to myworkgroup. loadparm.c: Added new shared mem parameters. Added Luke's fix. locking.c: Rewrite to do share modes better (both fast and slow modes). nameannounce.c: Changed lp_workgroup() to myworkgroup. Added Luke's fix. nameconf.c: Changed lp_workgroup() to myworkgroup. namedbname.c: Improved debug. namedbserver.c: Changed lp_workgroup() to myworkgroup. namedbsubnet.c: Added Luke's fix - rewritten somewhat. namedbwork.c: Changed lp_workgroup() to myworkgroup. nameelect.c: Added Luke's fix - rewritten somewhat. nameresp.c: Stoped shadowing global. nameserv.c: Added Luke's fix - Improved debug. nameservreply.c: Improved debug. namework.c: Changed lp_workgroup() to myworkgroup. nmbd.c: Added Luke's fix - Changed lp_workgroup() to myworkgroup. pipes.c: Changed lp_workgroup() to myworkgroup. proto.h: Added Luke's fix, added smb_shm_ proto's. reply.c: Changed lp_workgroup() to myworkgroup. server.c: Rewrite to do share modes better (both fast and slow modes). shmem.c: Rewrite to do share modes better (both fast and slow modes). smb.h: Rewrite to do share modes better (both fast and slow modes). status.c: Rewrite to do share modes better (both fast and slow modes). trans2.c: Fixed double slash issue. util.c: Tidied up, created myworkgroup. Jeremy Allison (jallison@whistle.com).
Diffstat (limited to 'source/nameresp.c')
-rw-r--r--source/nameresp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/nameresp.c b/source/nameresp.c
index f2b3ba167ae..27796ec07c4 100644
--- a/source/nameresp.c
+++ b/source/nameresp.c
@@ -263,13 +263,13 @@ struct response_record *queue_netbios_pkt_wins(
if ((!lp_wins_support()) && (*lp_wins_server()))
{
/* samba is not a WINS server, and we are using a WINS server */
- struct in_addr wins_ip;
- wins_ip = *interpret_addr2(lp_wins_server());
+ struct in_addr real_wins_ip;
+ real_wins_ip = *interpret_addr2(lp_wins_server());
- if (!zero_ip(wins_ip))
+ if (!zero_ip(real_wins_ip))
{
bcast = False;
- send_ip = wins_ip;
+ send_ip = real_wins_ip;
}
else
{