From 6a594ea65e9a6a07a64b68f2d987795eba27e324 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 6 Nov 2003 22:07:10 +0000 Subject: Fix bug #471. (const needed in lp_set_name_resolve_order). Jeremy. (This used to be commit 5d52e6b3016960cc3be33d3cd15725cce5fd0580) --- source3/param/loadparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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) -- cgit