Commit 9514a5e5 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

vlistCompare: ignore case of parameter names

parent 2601d58c
......@@ -140,6 +140,8 @@ void vlistCompare(int vlistID1, int vlistID2, int flag)
char name1[CDI_MAX_NAME], name2[CDI_MAX_NAME];
vlistInqVarName(vlistID1, varID, name1);
vlistInqVarName(vlistID2, varID, name2);
strtolower(name1);
strtolower(name2);
if ( strcmp(name1, name2) != 0 )
{
cdoWarning("Input streams have different parameters!");
......
Supports Markdown
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