summaryrefslogtreecommitdiff
path: root/server/src/xmlparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/xmlparser.cc')
-rw-r--r--server/src/xmlparser.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/xmlparser.cc b/server/src/xmlparser.cc
index 7efdc83..d4a6bd8 100644
--- a/server/src/xmlparser.cc
+++ b/server/src/xmlparser.cc
@@ -82,10 +82,10 @@ void start_hndl(void *p, const char *el, const char **attr)
}
if(name == "field") {
- CommitValue v;
- v.name = attributes["name"];
- v.value = attributes["value"];
- transaction->commits.back().values.push_back(v);
+ Field f;
+ f.name = attributes["name"];
+ f.value = attributes["value"];
+ transaction->commits.back().fields.push_back(f);
}
}