[mapserver-commits] r12433 - trunk/mapserver/mapcache/src

svn at osgeo.org svn at osgeo.org
Fri Aug 26 07:25:22 EDT 2011


Author: tbonfort
Date: 2011-08-26 04:25:21 -0700 (Fri, 26 Aug 2011)
New Revision: 12433

Modified:
   trunk/mapserver/mapcache/src/configuration.c
Log:
be more legible for xml/json when json is disabled
thomas.bonfort | 2011-08-16 10:56:52 +0200 (Tue, 16 Aug 2011)

Modified: trunk/mapserver/mapcache/src/configuration.c
===================================================================
--- trunk/mapserver/mapcache/src/configuration.c	2011-08-26 11:25:18 UTC (rev 12432)
+++ trunk/mapserver/mapcache/src/configuration.c	2011-08-26 11:25:21 UTC (rev 12433)
@@ -529,6 +529,7 @@
          ctx->set_error(ctx,400, "mixed format %s references unknown transparent format %s"
                "(order is important, format %s should appear first)",
                name,cur_node->txt,cur_node->txt);
+         return;
       }
       if ((cur_node = ezxml_child(node,"opaque")) != NULL) {
          opaque = geocache_configuration_get_image_format(config,cur_node->txt);
@@ -537,6 +538,7 @@
          ctx->set_error(ctx,400, "mixed format %s references unknown opaque format %s"
                "(order is important, format %s should appear first)",
                name,cur_node->txt,cur_node->txt);
+         return;
       }
       format = geocache_imageio_create_mixed_format(ctx->pool,name,transparent, opaque);
    } else {



More information about the mapserver-commits mailing list