Commit 9f2dd0a8 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdfCreateRecords: call cdfCreateRecords(streamptr, 1) if not done before (bug fix)

parent 63dbeb3d
......@@ -4542,10 +4542,8 @@ void cdfCreateRecords(stream_t *streamptr, int tsID)
}
else
{
printf("nallocrecs1 %d\n", streamptr->tsteps[1].nallrecs);
printf("records %p\n", streamptr->tsteps[1].records);
if ( streamptr->tsteps[1].records == 0 ) cdfCreateRecords(streamptr, 1);
nvrecs = streamptr->tsteps[1].nrecs;
streamptr->nrecs += nvrecs;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment