summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrtv4d-dlbin67272 -> 52824 bytes
-rw-r--r--rtv4d-dl.c2
2 files changed, 1 insertions, 1 deletions
diff --git a/rtv4d-dl b/rtv4d-dl
index c780a48..8b7c554 100755
--- a/rtv4d-dl
+++ b/rtv4d-dl
Binary files differ
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;
}