diff options
author | Jeremy Allison <jra@samba.org> | 2003-11-06 22:07:10 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-11-06 22:07:10 +0000 |
commit | 6a594ea65e9a6a07a64b68f2d987795eba27e324 (patch) | |
tree | 991158ec738e6f542d1838affc533f53e37ed522 /source3/param | |
parent | 949a05bcb7dcb4f557f35f5ffea815a1665a6a3e (diff) | |
download | samba-6a594ea65e9a6a07a64b68f2d987795eba27e324.tar.gz samba-6a594ea65e9a6a07a64b68f2d987795eba27e324.tar.bz2 samba-6a594ea65e9a6a07a64b68f2d987795eba27e324.zip |
Fix bug #471. (const needed in lp_set_name_resolve_order).
Jeremy.
(This used to be commit 5d52e6b3016960cc3be33d3cd15725cce5fd0580)
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 bedb57670d..37644c738f 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -4244,9 +4244,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) |