Permalink
Browse files

mapwms: fix forgotten if braces for commit c8190e5

Compiler warned about misleading indent
  • Loading branch information...
gogglesguy committed Aug 20, 2018
1 parent c59ab11 commit a2f08817428c9445342fab000ea0b01b855a0480
Showing with 2 additions and 1 deletion.
  1. +2 −1 mapwms.c
@@ -2444,7 +2444,7 @@ int msDumpLayer(mapObj *map, layerObj *lp, int nVersion,
msWMSPrintIdentifier(stdout, " ", &(lp->metadata), "MO");
}
if(nVersion >= OWS_1_1_0)
if(nVersion >= OWS_1_1_0) {
if (! msOWSLookupMetadata(&(lp->metadata), "MO", "metadataurl_href"))
msMetadataSetGetMetadataURL(lp, script_url_encoded);
@@ -2456,6 +2456,7 @@ int msDumpLayer(mapObj *map, layerObj *lp, int nVersion,
"xlink:type=\"simple\" xlink:href=\"%s\"/>\n ",
MS_TRUE, MS_FALSE, MS_FALSE, MS_TRUE, MS_TRUE,
NULL, NULL, NULL, NULL, NULL, " ");
}
if(nVersion < OWS_1_1_0)
msOWSPrintEncodeMetadata(stdout, &(lp->metadata), "MO", "dataurl_href",

0 comments on commit a2f0881

Please sign in to comment.