]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
DVR: fix typo (and SIGSEGV caused by previous formatter changes, fixes #3582
authorJaroslav Kysela <perex@perex.cz>
Sun, 21 Feb 2016 14:53:49 +0000 (15:53 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 21 Feb 2016 14:53:49 +0000 (15:53 +0100)
src/dvr/dvr_rec.c

index 496190421dcef55a14ceee541f41b7b16138359e..0e95f9edb27585b9f295e0d2ca7774d05ce6b285 100644 (file)
@@ -270,7 +270,7 @@ dvr_clean_directory_separator(char *s, char *tmp, size_t tmplen)
       if (*s == '/')
         *p = '-';
       else if (*s == '"')
-        *s = '\'';
+        *p = '\'';
       else
         *p = *s;
     *p = '\0';