diff options
author | Christopher R. Hertel <crh@samba.org> | 2001-07-10 18:05:29 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 2001-07-10 18:05:29 +0000 |
commit | bb8c1be67c09136768ed3166f4e14d3bdd4afdcc (patch) | |
tree | 323d115e1eea7acf86838bae7a7e7e25cdc87840 | |
parent | f8f1d9d5c3998dd9252bf13fb8b7968d08e2e062 (diff) | |
download | samba-bb8c1be67c09136768ed3166f4e14d3bdd4afdcc.tar.gz samba-bb8c1be67c09136768ed3166f4e14d3bdd4afdcc.tar.bz2 samba-bb8c1be67c09136768ed3166f4e14d3bdd4afdcc.zip |
Andrew B and I were commiting the same fix at the same time in different
trees. This change simply brings HEAD and 2.2 in line with one another.
Otherwise the code would be differnt but the meaning would be the same,
which is awkward.
Chris 'fifty-seven commits per line changed' Hertel -)-----
(This used to be commit bbf14e2d4e054e2af4f9cbbb05b86f6ac41084c6)
-rw-r--r-- | source3/nmbd/nmbd_namequery.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/nmbd/nmbd_namequery.c b/source3/nmbd/nmbd_namequery.c index 662d3895dd..66af796b6f 100644 --- a/source3/nmbd/nmbd_namequery.c +++ b/source3/nmbd/nmbd_namequery.c @@ -25,7 +25,6 @@ #include "includes.h" extern int DEBUGLEVEL; - extern struct in_addr ipzero; /**************************************************************************** @@ -40,9 +39,7 @@ static void query_name_response( struct subnet_record *subrec, BOOL success = False; struct nmb_name *question_name = &rrec->packet->packet.nmb.question.question_name; - struct in_addr answer_ip; - - answer_ip = ipzero; /* Fix from JEM...should always initialize. */ + struct in_addr answer_ip = ipzero; /* 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 |