summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);