summaryrefslogtreecommitdiffstats
path: root/rtv4d-dl.c
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2020-12-30 23:36:28 +0100
committersijanec <anton@sijanec.eu>2020-12-30 23:36:28 +0100
commitc6b721d7fe165426dab5f8d6ff119ae3dca77304 (patch)
treec050fc0b2ebd9038fbff238323d0682a8af9e372 /rtv4d-dl.c
parentMerge pull request '0.0.4' (#2) from dev into master (diff)
downloadrtv4d-dl-c6b721d7fe165426dab5f8d6ff119ae3dca77304.tar
rtv4d-dl-c6b721d7fe165426dab5f8d6ff119ae3dca77304.tar.gz
rtv4d-dl-c6b721d7fe165426dab5f8d6ff119ae3dca77304.tar.bz2
rtv4d-dl-c6b721d7fe165426dab5f8d6ff119ae3dca77304.tar.lz
rtv4d-dl-c6b721d7fe165426dab5f8d6ff119ae3dca77304.tar.xz
rtv4d-dl-c6b721d7fe165426dab5f8d6ff119ae3dca77304.tar.zst
rtv4d-dl-c6b721d7fe165426dab5f8d6ff119ae3dca77304.zip
Diffstat (limited to '')
-rw-r--r--rtv4d-dl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtv4d-dl.c b/rtv4d-dl.c
index c4343bd..5e0d124 100644
--- a/rtv4d-dl.c
+++ b/rtv4d-dl.c
@@ -816,7 +816,7 @@ int main (int argc, char ** argv) {
RTV_NAPISI(INFO, "ni več kosov v preteklosti");
fclose(fd);
snprintf(fn, sizeof(fn), "%s/%u-%lu%s",
- e, i, cas, strrchr(z->kos_format, '.'));
+ e, i-1, cas, strrchr(z->kos_format, '.'));
unlink(fn);
break;
}