summaryrefslogtreecommitdiffstats
path: root/rtv4d-dl.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtv4d-dl.c')
-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) {