fixed conflict between two variables called d
authorAndrew Tridgell <tridge@samba.org>
Wed, 3 Jul 1996 02:58:46 +0000 (02:58 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 3 Jul 1996 02:58:46 +0000 (02:58 +0000)
source/nameresp.c

index 8484cb4fd12916e6c65652b3cf07377aea68bc43..c79c30d46f6001f5d68956f4935f45559a697e99 100644 (file)
@@ -101,14 +101,14 @@ static void dead_netbios_entry(struct subnet_record *d,
 
                        if ((!NAME_GROUP(n->nb_flags)))
                        {
-                               struct subnet_record *d = find_subnet(ipgrp);
-                               if (d)
+                               struct subnet_record *d1 = find_subnet(ipgrp);
+                               if (d1)
                                {
                                        /* remove the name that had been registered with us,
                                           and we're now getting no response when challenging.
                                           see rfc1001.txt 15.5.2
                                         */
-                                       remove_netbios_name(d, n->name.name, n->name.name_type,
+                                       remove_netbios_name(d1, n->name.name, n->name.name_type,
                                                                        REGISTER, n->to_ip);
                                }
                        }