diff options
author | Jeremy Allison <jra@samba.org> | 2003-11-06 22:07:12 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-11-06 22:07:12 +0000 |
commit | 75b246906323a9c6dba6c73041882d4ddebe7577 (patch) | |
tree | ae8f49e5187719bdc9d7bca3fe66938f12ed8801 /source3/param | |
parent | 40ad5de251e6eb78bc07c57a2940b6eccfd5f92b (diff) | |
download | samba-75b246906323a9c6dba6c73041882d4ddebe7577.tar.gz samba-75b246906323a9c6dba6c73041882d4ddebe7577.tar.bz2 samba-75b246906323a9c6dba6c73041882d4ddebe7577.zip |
Fix bug #471. (const needed in lp_set_name_resolve_order).
Jeremy.
(This used to be commit 3c19ac5f1c9e393780e57028808871dfdc77b170)
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 55ab4ee3a0..e1308da3aa 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -4240,9 +4240,9 @@ int lp_minor_announce_version(void) Set the global name resolution order (used in smbclient). ************************************************************/ -void lp_set_name_resolve_order(char *new_order) +void lp_set_name_resolve_order(const char *new_order) { - Globals.szNameResolveOrder = new_order; + string_set(&Globals.szNameResolveOrder, new_order); } const char *lp_printername(int snum) |