Skip to content

Commit

Permalink
Fixing interpretation of return value for msWCSParseRequest20. `MS_…
Browse files Browse the repository at this point in the history
…DONE` now means that the exception has already been written to the IO buffer.
  • Loading branch information
constantinius committed Aug 7, 2013
1 parent 3181c28 commit 5a0869a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mapwcs.c
Expand Up @@ -2163,6 +2163,13 @@ int msWCSDispatch(mapObj *map, cgiRequestObj *request, owsRequestObj *ows_reques
return msWCSException(map, "InvalidParameterValue", return msWCSException(map, "InvalidParameterValue",
"request", "2.0.1"); "request", "2.0.1");
} }
else if (status == MS_DONE) {
/* MS_DONE means, that the exception has already been written to the IO
buffer.
*/
msWCSFreeParamsObj20(params);
return MS_FAILURE;
}
} }


/* check if all layer names are valid NCNames */ /* check if all layer names are valid NCNames */
Expand Down

0 comments on commit 5a0869a

Please sign in to comment.