summaryrefslogtreecommitdiffstats
path: root/source3/namedbname.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/namedbname.c')
-rw-r--r--source3/namedbname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/namedbname.c b/source3/namedbname.c
index 833a870c6c..6cd89df523 100644
--- a/source3/namedbname.c
+++ b/source3/namedbname.c
@@ -513,12 +513,12 @@ void expire_names(time_t t)
reply to a name query
****************************************************************************/
struct name_record *search_for_name(struct subnet_record **d,
- struct nmb_name *question,
+ struct nmb_name *question,
struct in_addr ip, int Time, int search)
{
int name_type = question->name_type;
char *qname = question->name;
- BOOL dns_type = name_type == 0x20 || name_type == 0;
+ BOOL dns_type = (name_type == 0x20 || name_type == 0);
struct name_record *n;