summaryrefslogtreecommitdiff
path: root/src/utils/xml.cpp
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-08-15 20:56:08 -0400
committerChuck Miller <shadowmil@gmail.com>2010-08-15 22:44:13 -0400
commit560877d89847b25b201580e083119f0b23ff75c1 (patch)
treecb50dd12b0b884f7c7dea74102d321d63bb1d37f /src/utils/xml.cpp
parent8f573b6c425dc82be42ad80eae565b0641a90a3b (diff)
downloadmana-560877d89847b25b201580e083119f0b23ff75c1.tar.gz
mana-560877d89847b25b201580e083119f0b23ff75c1.tar.bz2
mana-560877d89847b25b201580e083119f0b23ff75c1.tar.xz
mana-560877d89847b25b201580e083119f0b23ff75c1.zip
Remove the logToChat option
This is a very old legacy option. Today its not very useful because the logger had become quite verbose that using it during run-time is not helpful. Reviewed-By: Jared Adams Reviewed-By: Freeyorp
Diffstat (limited to 'src/utils/xml.cpp')
-rw-r--r--src/utils/xml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp
index bb386f51..2bcb6f24 100644
--- a/src/utils/xml.cpp
+++ b/src/utils/xml.cpp
@@ -162,7 +162,7 @@ namespace XML
logger->log("Error in unknown xml file on line %d",
error->line);
- logger->log(error->message);
+ logger->log("%s", error->message);
// No need to keep errors around
xmlCtxtResetLastError(error->ctxt);