Ticket #2158 (closed defect: fixed)
Use correct return values in changes related to RFC-24
|Reported by:||dmorissette||Owned by:||dmorissette|
|Component:||MapServer C Library||Version:||5.0|
This is because in MapServer some functions return MS_SUCCESS/MS_FAILURE and others return 0 for success and -1 for failure, but MS_FAILURE != -1 ... so it is not correct to return MS_FAILURE in a function that is expected to return -1 on error.
We need to walk through all the changes and fix that.