Permalink
Browse files

Fixing interpretation of return value for `msWCSParseRequest20`. `MS_…

…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 5a0869a4eb0639fc4183d14df4c59581d0955ab0
Showing with 7 additions and 0 deletions.
  1. +7 −0 mapwcs.c
View
@@ -2163,6 +2163,13 @@ int msWCSDispatch(mapObj *map, cgiRequestObj *request, owsRequestObj *ows_reques
return msWCSException(map, "InvalidParameterValue",
"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 */

0 comments on commit 5a0869a

Please sign in to comment.