From b0739b073a1db8b0b163726a1d181b2f05d71883 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 8 Jun 2004 20:10:26 +0000 Subject: r1087: BUG 1221: revert old change that used single and double quotes as delimters in next_token(), and change print_parameter() to print out parm values surrounded by double quotes (instead of single quotes) --- source/lib/util_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/lib') diff --git a/source/lib/util_str.c b/source/lib/util_str.c index 65ef306ed17..7c5fa11c92d 100644 --- a/source/lib/util_str.c +++ b/source/lib/util_str.c @@ -62,7 +62,7 @@ BOOL next_token(const char **ptr,char *buff, const char *sep, size_t bufsize) /* copy over the token */ pbuf = buff; for (quoted = False; len < bufsize && *s && (quoted || !strchr_m(sep,*s)); s++) { - if (*s == '\"' || *s == '\'') { + if ( *s == '\"' ) { quoted = !quoted; } else { len++; -- cgit