diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-01-06 14:01:15 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-01-06 14:01:15 +0000 |
commit | a3428487a787c9ab43cd628338dcc290499891ae (patch) | |
tree | a82222b0cd94e22370eaae0ed6a8c679202e10e5 /cmd.c | |
parent | 58642011df2ccb02d405626e641ad9f11945a276 (diff) | |
parent | cae0fbbe8c7cc16ac38aa8149ef9b4e2a54bce0e (diff) | |
download | rtmux-a3428487a787c9ab43cd628338dcc290499891ae.tar.gz rtmux-a3428487a787c9ab43cd628338dcc290499891ae.tar.bz2 rtmux-a3428487a787c9ab43cd628338dcc290499891ae.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -691,7 +691,7 @@ cmd_template_replace(const char *template, const char *s, int idx) buf = xrealloc(buf, len + (strlen(s) * 2) + 1); for (cp = s; *cp != '\0'; cp++) { - if (quoted && *cp == '"') + if (quoted && (*cp == '"' || *cp == '$')) buf[len++] = '\\'; buf[len++] = *cp; } |