r1087: BUG 1221: revert old change that used single and double quotes as delimters...
[samba.git] / source / lib / util_str.c
index 65ef306ed1799713aefb94e73bca386077809b32..7c5fa11c92d6453e203354b1c6d9ea03aa65fbde 100644 (file)
@@ -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++;