summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-01-07 10:45:12 +0100
committersijanec <anton@sijanec.eu>2021-01-07 10:45:12 +0100
commitaba77f73659cca2f3335ed7b7eb800d09543eabd (patch)
tree7b15f96a777c139c776012bc3b2ed20249c3bc72
parent0.0.6 hotfix (diff)
downloadrtv4d-dl-aba77f73659cca2f3335ed7b7eb800d09543eabd.tar
rtv4d-dl-aba77f73659cca2f3335ed7b7eb800d09543eabd.tar.gz
rtv4d-dl-aba77f73659cca2f3335ed7b7eb800d09543eabd.tar.bz2
rtv4d-dl-aba77f73659cca2f3335ed7b7eb800d09543eabd.tar.lz
rtv4d-dl-aba77f73659cca2f3335ed7b7eb800d09543eabd.tar.xz
rtv4d-dl-aba77f73659cca2f3335ed7b7eb800d09543eabd.tar.zst
rtv4d-dl-aba77f73659cca2f3335ed7b7eb800d09543eabd.zip
-rw-r--r--rtv4d-dl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtv4d-dl.c b/rtv4d-dl.c
index f086005..21ba592 100644
--- a/rtv4d-dl.c
+++ b/rtv4d-dl.c
@@ -524,7 +524,7 @@ int rtv_zivo_izpolni(struct rtv_zivo_meta * m) {
e = strstr(m->kazalo_url, "_DVR");
if (e != NULL) {
memmove(e, e+strlen("_DVR"), strlen("_DVR")+1);
- e+strlen("_DVR")[0] = '\0';
+ e[strlen("_DVR")] = '\0';
RTV_NAPISI(HROSC, "RTV je poslal DVR, čeprav ga nočemo. popravil sem.");
}
RTV_NAPISI(HROSC, "kazalo_url => %s", m->kazalo_url);