1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-29 02:50:28 +03:00

Fix tree breakage, the last change was entirly non-portable, and we already

have this nice variable to do exactly this...
(This used to be commit cad6f53433a9345c06ae94c5ef63434e72a2daea)
This commit is contained in:
Andrew Bartlett 2001-07-10 17:14:52 +00:00
parent e4b6f641e8
commit f8f1d9d5c3

View File

@ -26,6 +26,8 @@
extern int DEBUGLEVEL;
extern struct in_addr ipzero;
/****************************************************************************
Deal with a response packet when querying a name.
****************************************************************************/
@ -40,7 +42,7 @@ static void query_name_response( struct subnet_record *subrec,
&rrec->packet->packet.nmb.question.question_name;
struct in_addr answer_ip;
answer_ip.S_un.S_addr = 0; /* Fix from JEM...should always initialize. */
answer_ip = ipzero; /* Fix from JEM...should always initialize. */
/* Ensure we don't retry the query but leave the response record cleanup
to the timeout code. We may get more answer responses in which case