Changeset 7587
- Timestamp:
- 05/13/08 09:21:18 (2 months ago)
- Files:
-
- trunk/mapserver/mapwms.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/mapserver/mapwms.c
r7544 r7587 2463 2463 msTranslateWMS2Mapserv(names, values, &numentries); 2464 2464 2465 msObj-> Map = map;2465 msObj->map = map; 2466 2466 msObj->request->ParamNames = names; 2467 2467 msObj->request->ParamValues = values; 2468 2468 msObj->Mode = QUERY; 2469 2469 msObj->request->NumParams = numentries; 2470 msObj-> MapPnt.x = point.x;2471 msObj-> MapPnt.y = point.y;2472 2473 if (query_status == MS_NOTFOUND && msObj-> Map->web.empty)2470 msObj->mappnt.x = point.x; 2471 msObj->mappnt.y = point.y; 2472 2473 if (query_status == MS_NOTFOUND && msObj->map->web.empty) 2474 2474 { 2475 if(msReturnURL(msObj, msObj-> Map->web.empty, BROWSE) != MS_SUCCESS)2475 if(msReturnURL(msObj, msObj->map->web.empty, BROWSE) != MS_SUCCESS) 2476 2476 return msWMSException(map, nVersion, NULL); 2477 2477 } 2478 else if (msReturnTemplateQuery(msObj, (char*)pszMimeType, NULL) != MS_SUCCESS)2478 else if (msReturnTemplateQuery(msObj, (char*)pszMimeType, NULL) != MS_SUCCESS) 2479 2479 return msWMSException(map, nVersion, NULL); 2480 2480 2481 2481 /* We don't want to free the map, and param names/values since they */ 2482 2482 /* belong to the caller, set them to NULL before freeing the mapservObj */ 2483 msObj-> Map = NULL;2483 msObj->map = NULL; 2484 2484 msObj->request->ParamNames = NULL; 2485 2485 msObj->request->ParamValues = NULL;
