]> git.stg.codes - stg.git/blobdiff - projects/sgconf/parser.cpp
Fix sgconf compilation errors
[stg.git] / projects / sgconf / parser.cpp
index 20dd06145b4331731b2678ddba43ea07d8db1735..8e1e3cf1fe5c7e4b6fa8595f5b7864658116db14 100644 (file)
@@ -33,9 +33,9 @@
 #include <string>
 #include <list>
 
-#include "common.h"
-#include "netunit.h"
-#include "request.h"
+#include "stg/common.h"
+#include "stg/netunit.h"
+#include "stg/request.h"
 
 using namespace std;
 
@@ -107,7 +107,7 @@ while (n != ans->end())
 
     if (++n == ans->end())
         done = 1;
-    n--;
+    --n;
 
     if (XML_Parse(parser, n->c_str(), len, done) == XML_STATUS_ERROR)
         {