Skip to content
Permalink
Browse files

Changed function name for error in msWMSApplyFilter

  • Loading branch information...
ravhed committed Oct 11, 2018
1 parent 7a4280c commit e0d8f0b89ba2c742f102e191480f86457a07b62f
Showing with 1 addition and 2 deletions.
  1. +1 −2 mapwms.c
@@ -326,7 +326,6 @@ int msWMSApplyFilter(mapObj *map, int version, const char *filter,
// Empty filter should be ignored
if (!filter || strlen(filter) == 0)
return MS_SUCCESS;


if (!map)
return MS_FAILURE;
@@ -459,7 +458,7 @@ int msWMSApplyFilter(mapObj *map, int version, const char *filter,
errorObj* ms_error = msGetErrorObj();

if(ms_error->code != MS_NOTFOUND) {
msSetError(MS_WMSERR, "FLTApplyFilterToLayer() failed", "msWFSGetFeature()");
msSetError(MS_WMSERR, "FLTApplyFilterToLayer() failed", "msWMSApplyFilter()");
FLTFreeFilterEncodingNode( psNode );
return msWMSException(map, version, "InvalidParameterValue", wms_exception_format);
}

0 comments on commit e0d8f0b

Please sign in to comment.
You can’t perform that action at this time.