]> git.alsa-project.org Git - alsa-lib.git/commitdiff
conf: quote also strings with '*' and '#' characters in string_print()
authorJaroslav Kysela <perex@perex.cz>
Tue, 18 Aug 2020 14:53:23 +0000 (16:53 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 18 Aug 2020 14:53:35 +0000 (16:53 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/conf.c

index 8518f90c5d601cf54806e2089df74471a984a7bb..7df2b4e77759309bbe932ccf6977b83be715f673 100644 (file)
@@ -1536,6 +1536,8 @@ static void string_print(char *str, int id, snd_output_t *out)
        case ']':
        case '\'':
        case '"':
+       case '*':
+       case '#':
                goto quoted;
        default:
                if (*p <= 31 || *p >= 127)