summaryrefslogtreecommitdiffstats
path: root/rtv4d-dl.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--rtv4d-dl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rtv4d-dl.c b/rtv4d-dl.c
index 21ba592..6dbb618 100644
--- a/rtv4d-dl.c
+++ b/rtv4d-dl.c
@@ -523,8 +523,7 @@ int rtv_zivo_izpolni(struct rtv_zivo_meta * m) {
#endif
e = strstr(m->kazalo_url, "_DVR");
if (e != NULL) {
- memmove(e, e+strlen("_DVR"), strlen("_DVR")+1);
- e[strlen("_DVR")] = '\0';
+ memmove(e, e+strlen("_DVR"), strlen(e+strlen("_DVR"))+1);
RTV_NAPISI(HROSC, "RTV je poslal DVR, čeprav ga nočemo. popravil sem.");
}
RTV_NAPISI(HROSC, "kazalo_url => %s", m->kazalo_url);