mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
parent
0b81314bde
commit
9ee55832e9
1 changed files with 2 additions and 1 deletions
|
|
@ -379,8 +379,9 @@ static inline int spa_json_encode_string(char *str, int size, const char *val)
|
|||
case '\f':
|
||||
__PUT('\\'); __PUT('f');
|
||||
break;
|
||||
case '\\':
|
||||
case '"':
|
||||
__PUT('\\'); __PUT('"');
|
||||
__PUT('\\'); __PUT(*val);
|
||||
break;
|
||||
default:
|
||||
if (*val > 0 && *val < 0x20) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue