Remove the char[1024] strings from dynconfig. Replace
[nivanova/samba-autobuild/.git] / source3 / libsmb / namequery.c
index e4206e6065cc42732930c342bf00a1f0e5fe35bb..0decc59ed7f2995fbdc49734de58e55d45394401 100644 (file)
@@ -1157,7 +1157,7 @@ static NTSTATUS resolve_lmhosts(const char *name, int name_type,
                "Attempting lmhosts lookup for name %s<0x%x>\n",
                name, name_type));
 
-       fp = startlmhosts(dyn_LMHOSTSFILE);
+       fp = startlmhosts(get_dyn_LMHOSTSFILE());
 
        if ( fp == NULL )
                return NT_STATUS_NO_SUCH_FILE;