diff options
Diffstat (limited to 'source3/param/loadparm.c')
-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 4ac2f8950f..2c65ac67d9 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -3273,9 +3273,9 @@ static void print_parameter(struct parm_struct *p, void *ptr, FILE * f) char **list = *(char ***)ptr; for (; *list; list++) { - /* surround strings with whitespace in single quotes */ + /* surround strings with whitespace in double quotes */ if ( strchr_m( *list, ' ' ) ) - fprintf(f, "\'%s\'%s", *list, ((*(list+1))?", ":"")); + fprintf(f, "\"%s\"%s", *list, ((*(list+1))?", ":"")); else fprintf(f, "%s%s", *list, ((*(list+1))?", ":"")); } |