]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/configproto.cpp
Store parser answer in configproto.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / configproto.cpp
index 162f08750a03c25c52a3e0042853df58e8a39e4c..7bc635ab55407bb3c171b82eeeabf849da8e508c 100644 (file)
@@ -79,6 +79,7 @@ if (cp->currParser)
     {
     if (cp->currParser->ParseEnd(data, el) == 0)
         {
+        cp->dataAnswer = cp->currParser->GetAnswer();
         cp->currParser = NULL;
         }
     }
@@ -88,6 +89,8 @@ else
         {
         if (cp->dataParser[i]->ParseEnd(data, el) == 0)
             {
+            cp->dataAnswer = cp->currParser->GetAnswer();
+            cp->currParser = NULL;
             break;
             }
         }