summaryrefslogtreecommitdiffstats
path: root/rtv4d-dl.c
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-01-07 11:15:58 +0100
committersijanec <anton@sijanec.eu>2021-01-07 11:15:58 +0100
commit48448c31876c252384dca121ef22dc2f10611b5e (patch)
treeedd0d747c7a95feb496832ba9ba3077802df5164 /rtv4d-dl.c
parent0.0.6 very hot fix (diff)
downloadrtv4d-dl-48448c31876c252384dca121ef22dc2f10611b5e.tar
rtv4d-dl-48448c31876c252384dca121ef22dc2f10611b5e.tar.gz
rtv4d-dl-48448c31876c252384dca121ef22dc2f10611b5e.tar.bz2
rtv4d-dl-48448c31876c252384dca121ef22dc2f10611b5e.tar.lz
rtv4d-dl-48448c31876c252384dca121ef22dc2f10611b5e.tar.xz
rtv4d-dl-48448c31876c252384dca121ef22dc2f10611b5e.tar.zst
rtv4d-dl-48448c31876c252384dca121ef22dc2f10611b5e.zip
Diffstat (limited to 'rtv4d-dl.c')
-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);