Skip to content

Commit

Permalink
Resolving previously introduced warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Schpidi committed Aug 8, 2013
1 parent e01461a commit 04a51b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapwcs20.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2449,7 +2449,7 @@ int msWCSException20(mapObj *map, const char *exceptionCode,
status = "404 Not Found"; status = "404 Not Found";
} }


msIO_setHeader("Status", status); msIO_setHeader("Status", "%s", status);
if (encoding) if (encoding)
msIO_setHeader("Content-Type","text/xml; charset=%s", encoding); msIO_setHeader("Content-Type","text/xml; charset=%s", encoding);
else else
Expand Down

0 comments on commit 04a51b4

Please sign in to comment.