summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_lmhosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nmbd/nmbd_lmhosts.c')
-rw-r--r--source3/nmbd/nmbd_lmhosts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_lmhosts.c b/source3/nmbd/nmbd_lmhosts.c
index 206c2367b1..f4d520b1cf 100644
--- a/source3/nmbd/nmbd_lmhosts.c
+++ b/source3/nmbd/nmbd_lmhosts.c
@@ -93,7 +93,7 @@ BOOL find_name_in_lmhosts(struct nmb_name *nmbname, struct name_record **namerec
FIND_ANY_NAME))==NULL)
return False;
- if(!NAME_IS_ACTIVE(namerec) || (namerec->source != LMHOSTS_NAME))
+ if(!NAME_IS_ACTIVE(namerec) || (namerec->data.source != LMHOSTS_NAME))
return False;
*namerecp = namerec;