summaryrefslogtreecommitdiff
path: root/source3/libsmb/namequery.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-03-05 01:30:15 +0000
committerJeremy Allison <jra@samba.org>2003-03-05 01:30:15 +0000
commitd45fe965efbac17433b0de25f5a896803f59f388 (patch)
tree99e5b905a5252dbacdfbf6e8e80005d9e996061d /source3/libsmb/namequery.c
parent6626fef5d45ac5a36c5fcdac6173ea8f82ee2e02 (diff)
downloadsamba-d45fe965efbac17433b0de25f5a896803f59f388.tar.gz
samba-d45fe965efbac17433b0de25f5a896803f59f388.tar.bz2
samba-d45fe965efbac17433b0de25f5a896803f59f388.zip
Writable string const fixes.
Jeremy. (This used to be commit c832e95c2f4daf175954a60f3c56420cf2f35b45)
Diffstat (limited to 'source3/libsmb/namequery.c')
-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 62b94761ad..18ce5e4bd9 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -1263,7 +1263,7 @@ BOOL get_dc_list(const char *domain, struct in_addr **ip_list, int *count, int *
/* If it's our domain then use the 'password server' parameter. */
if (strequal(domain, lp_workgroup())) {
- char *p;
+ const char *p;
char *pserver = lp_passwordserver(); /* UNIX charset. */
fstring name;
int num_addresses = 0;