summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-04-20 18:34:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:33 -0500
commit8a22b1f0ea81f06616a2dc41a138c5126359f009 (patch)
tree11bb7dd52a24d49a42b1cb5eb15ec9f7ddab7823 /source3/libsmb
parent41824de773a9627ccf59b04b5a772ec395485919 (diff)
downloadsamba-8a22b1f0ea81f06616a2dc41a138c5126359f009.tar.gz
samba-8a22b1f0ea81f06616a2dc41a138c5126359f009.tar.bz2
samba-8a22b1f0ea81f06616a2dc41a138c5126359f009.zip
r22417: Refactor the various daemon run-mode options to make the semantics
of the various flags explicit. (This used to be commit 19c929c6330a50f278ac322ac5fcb83d03734ea2)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index cbd94ff567..0826bc5218 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -651,7 +651,7 @@ struct in_addr *name_query(int fd,const char *name,int name_type,
Start parsing the lmhosts file.
*********************************************************/
-XFILE *startlmhosts(char *fname)
+XFILE *startlmhosts(const char *fname)
{
XFILE *fp = x_fopen(fname,O_RDONLY, 0);
if (!fp) {