Commit ee472386 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Changed varname2 to varname (buf fix).

parent 97b80fad
......@@ -494,7 +494,7 @@ int cdfDefVar(stream_t *streamptr, int varID)
{
if ( iz ) sprintf(varname2, "_%u", iz+1);
if ( nc_inq_varid(fileID, varname2, &ncvarid) != NC_NOERR ) break;
if ( nc_inq_varid(fileID, varname, &ncvarid) != NC_NOERR ) break;
++iz;
}
......
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