summaryrefslogtreecommitdiffstats
path: root/rtv4d-dl.c
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2020-12-28 14:39:10 +0100
committersijanec <anton@sijanec.eu>2020-12-28 14:39:10 +0100
commit2b4f47b1fa414e7a2c6f904755c9b3eee1b84f9a (patch)
treee12d2f2ca511eb474fd28a6ee8b8a35231a21eee /rtv4d-dl.c
parentživo še vedno pokvarjen, casi jebejo (diff)
downloadrtv4d-dl-2b4f47b1fa414e7a2c6f904755c9b3eee1b84f9a.tar
rtv4d-dl-2b4f47b1fa414e7a2c6f904755c9b3eee1b84f9a.tar.gz
rtv4d-dl-2b4f47b1fa414e7a2c6f904755c9b3eee1b84f9a.tar.bz2
rtv4d-dl-2b4f47b1fa414e7a2c6f904755c9b3eee1b84f9a.tar.lz
rtv4d-dl-2b4f47b1fa414e7a2c6f904755c9b3eee1b84f9a.tar.xz
rtv4d-dl-2b4f47b1fa414e7a2c6f904755c9b3eee1b84f9a.tar.zst
rtv4d-dl-2b4f47b1fa414e7a2c6f904755c9b3eee1b84f9a.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 1428a69..6da6a61 100644
--- a/rtv4d-dl.c
+++ b/rtv4d-dl.c
@@ -776,8 +776,8 @@ int main (int argc, char ** argv) {
RTV_NAPISI(NAPAKA, "Ni uspelo pridobiti metapodatkov pretoka.");
returnstatus = 4;
}
+ casi = realloc(casi, sizeof(time_t)*(z->sedanjost+1));
for (i = z->sedanjost; i >= 0; i--) {
- casi = realloc(casi, sizeof(time_t)*i+1); /* NE GOTO PRED SPROŠČENJEM */
cas = time(NULL);
casi[i] = cas;
if ((z->prenesenih_kosov_preteklost)*(z->dolzina) >= z->preteklost) {