]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parser.cpp
Keep stglibs headers and libraries "at home"
[stg.git] / stglibs / srvconf.lib / parser.cpp
index 89b2457cc1de9830604645e5e7d5eedf081008ed..a87266eb5cb57d37fd6cb81f002134cbdde1e547 100644 (file)
 #include <arpa/inet.h>
 #include <string>
 
-#include "common.h"
-//#include "srvconf_common.h"
-#include "stg_const.h"
-#include "servconf.h"
+#include "stg/common.h"
+#include "stg/const.h"
+#include "stg/servconf.h"
 
 using namespace std;
 
@@ -46,6 +45,7 @@ using namespace std;
 PARSER_GET_USERS::PARSER_GET_USERS()
     : RecvUserDataCb(NULL),
       userDataCb(NULL),
+      user(),
       depth(0),
       error(false)
 {
@@ -387,6 +387,7 @@ userDataCb = data;
 PARSER_GET_USER::PARSER_GET_USER()
     : RecvUserDataCb(NULL),
       userDataCb(NULL),
+      user(),
       depth(0),
       error(false)
 {
@@ -665,7 +666,8 @@ PARSER_GET_SERVER_INFO::PARSER_GET_SERVER_INFO()
     : RecvServerInfoDataCb(NULL),
       serverInfoDataCb(NULL),
       depth(0),
-      error(false)
+      error(false),
+      serverInfo()
 {
 }
 //-----------------------------------------------------------------------------