[mapserver-commits] r12317 - trunk/mapserver/mapcache/src
svn at osgeo.org
svn at osgeo.org
Fri Aug 26 07:16:29 EDT 2011
Author: tbonfort
Date: 2011-08-26 04:16:29 -0700 (Fri, 26 Aug 2011)
New Revision: 12317
Modified:
trunk/mapserver/mapcache/src/service_wmts.c
Log:
remove invalid call to free()
thomas.bonfort | 2011-03-01 11:46:05 +0100 (Tue, 01 Mar 2011)
Modified: trunk/mapserver/mapcache/src/service_wmts.c
===================================================================
--- trunk/mapserver/mapcache/src/service_wmts.c 2011-08-26 11:16:25 UTC (rev 12316)
+++ trunk/mapserver/mapcache/src/service_wmts.c 2011-08-26 11:16:29 UTC (rev 12317)
@@ -102,7 +102,7 @@
char *caps;
#ifdef DEBUG
if(request->request.request.type != GEOCACHE_REQUEST_GET_CAPABILITIES) {
- ctx->set_error(ctx,500,"wrong wms capabilities request");
+ ctx->set_error(ctx,500,"wrong wmts capabilities request");
return;
}
#endif
@@ -545,7 +545,7 @@
char *endptr;
level = (int)strtol(matrix,&endptr,10);
if(*endptr != 0 || level < 0 || level >= grid_link->grid->nlevels) {
- ctx->set_error(ctx, 404, "received wms request with invalid TILEMATRIX %s", matrix);
+ ctx->set_error(ctx, 404, "received wmts request with invalid TILEMATRIX %s", matrix);
return;
}
}
@@ -557,7 +557,7 @@
char *endptr;
row = (int)strtol(tilerow,&endptr,10);
if(*endptr != 0 || row < 0) {
- ctx->set_error(ctx, 404, "received wms request with invalid TILEROW %s",tilerow);
+ ctx->set_error(ctx, 404, "received wmts request with invalid TILEROW %s",tilerow);
return;
}
}
@@ -569,7 +569,7 @@
char *endptr;
col = (int)strtol(tilecol,&endptr,10);
if(endptr == tilecol || col < 0) {
- ctx->set_error(ctx, 404, "received wms request with invalid TILECOL %s",tilecol);
+ ctx->set_error(ctx, 404, "received wmts request with invalid TILECOL %s",tilecol);
return;
}
}
More information about the mapserver-commits
mailing list