diff options
author | deva <deva> | 2007-09-14 12:25:54 +0000 |
---|---|---|
committer | deva <deva> | 2007-09-14 12:25:54 +0000 |
commit | b70c9b6843e15ee5764b8457acea930af0d2b285 (patch) | |
tree | 677c770b3f0e20c2081661f0a2c5d144a0ce5a24 /server/src/xmlparser.cc | |
parent | 1a0bd4c03c4045d9cc1b3c0bcec39487fa9c5486 (diff) |
Commits are now committed to the database.
Diffstat (limited to 'server/src/xmlparser.cc')
-rw-r--r-- | server/src/xmlparser.cc | 8 |
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); } } |