summaryrefslogtreecommitdiffstats
path: root/source/lib/util_str.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-06-08 20:10:26 +0000
committerGerald Carter <jerry@samba.org>2004-06-08 20:10:26 +0000
commit897ba0bbb26575459d3ac74c19a3e59cbc379a48 (patch)
treec713f6ae24ab28fdce7b6aa98ffcdb70ff5cfec2 /source/lib/util_str.c
parentbef0b93385376a32132ca3503959afe95d89d5ac (diff)
downloadsamba-897ba0bbb26575459d3ac74c19a3e59cbc379a48.tar.gz
samba-897ba0bbb26575459d3ac74c19a3e59cbc379a48.tar.xz
samba-897ba0bbb26575459d3ac74c19a3e59cbc379a48.zip
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)
Diffstat (limited to 'source/lib/util_str.c')
-rw-r--r--source/lib/util_str.c2
1 files changed, 1 insertions, 1 deletions
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++;