summaryrefslogtreecommitdiff
path: root/server/src/transactionparser.cc
diff options
context:
space:
mode:
authordeva <deva>2009-05-11 11:57:50 +0000
committerdeva <deva>2009-05-11 11:57:50 +0000
commit1435d2c664f1c7696cbde2b41df6362f99d1df2c (patch)
tree302e686f55fc59ae28229df9c705c49d5c8a4dd8 /server/src/transactionparser.cc
parent9b5c88df87d285995fd0c483de369cd7854893b1 (diff)
New 'header' in each journal commit, taken from the course.
Diffstat (limited to 'server/src/transactionparser.cc')
-rw-r--r--server/src/transactionparser.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/transactionparser.cc b/server/src/transactionparser.cc
index 78c9b21..9e3d952 100644
--- a/server/src/transactionparser.cc
+++ b/server/src/transactionparser.cc
@@ -61,6 +61,7 @@ void TransactionParser::startTag(std::string name, std::map< std::string, std::s
if(name == "commit") {
Commit c;
+ c.course = attributes["course"];
c.macro = attributes["macro"];
c.version = attributes["version"];
transaction->commits.push_back(c);