X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/09c44c9a7e8c870e07827b3fc34811cd917b6115..8b2d407ef1f52d42ca30d8f5e23c7a4277a2acd5:/projects/sgconf_xml/parser.cpp

diff --git a/projects/sgconf_xml/parser.cpp b/projects/sgconf_xml/parser.cpp
index df18975e..f2d5993b 100644
--- a/projects/sgconf_xml/parser.cpp
+++ b/projects/sgconf_xml/parser.cpp
@@ -3,8 +3,8 @@
 #include <expat.h>
 #include <string.h>
 
-#include "common.h"
-#include "netunit.h"
+#include "stg/common.h"
+#include "stg/netunit.h"
 #include "request.h"
 
 int parse_depth = 0;
@@ -166,8 +166,7 @@ while (n != ans->end())
 
     if (XML_Parse(parser, n->c_str(), len, done) == XML_STATUS_ERROR)
         {
-        char s[128];
-        printf(s, "Parse error at line %d: %s",
+        printf("Parse error at line %d: %s",
                XML_GetCurrentLineNumber(parser),
                XML_ErrorString(XML_GetErrorCode(parser)));
         return st_xml_parse_error;