]> git.stg.codes - stg.git/blobdiff - projects/stargazer/settings_impl.cpp
Placeholder added to the XML-RPC API documentation book
[stg.git] / projects / stargazer / settings_impl.cpp
index 14609647c18e5066f3ce84db3fc954a30bbc7218..d5fb2dad0b6366369ddcf672ab6696b20386fcb2 100644 (file)
@@ -32,9 +32,9 @@ $Author: faust $
 #include <cerrno>
 #include <string>
 
+#include "stg/logger.h"
+#include "stg/dotconfpp.h"
 #include "settings_impl.h"
-#include "stg_logger.h"
-#include "dotconfpp.h"
 
 using namespace std;
 
@@ -235,9 +235,9 @@ return 0;
 //-----------------------------------------------------------------------------
 void SETTINGS_IMPL::ErrorCallback(void * data, const char * buf)
 {
-    printfd(__FILE__, buf);
+    printfd(__FILE__, "SETTINGS_IMPL::ErrorCallback() - %s\n", buf);
     SETTINGS_IMPL * settings = static_cast<SETTINGS_IMPL *>(data);
-    settings->logger(buf);
+    settings->logger("%s", buf);
 }
 //-----------------------------------------------------------------------------
 int SETTINGS_IMPL::ReadSettings()