summaryrefslogtreecommitdiff
path: root/server/src/transactionparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/transactionparser.cc')
-rw-r--r--server/src/transactionparser.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/transactionparser.cc b/server/src/transactionparser.cc
index 9ca6288..547a9a7 100644
--- a/server/src/transactionparser.cc
+++ b/server/src/transactionparser.cc
@@ -33,8 +33,6 @@
#include <string>
#include <map>
-static bool done = false;
-
TransactionParser::TransactionParser(TCPSocket &socket, Transaction &transaction)
{
this->transaction = &transaction;
@@ -52,6 +50,7 @@ void TransactionParser::startTag(std::string name, std::map< std::string, std::s
if(name == "request") {
Request r;
+ r.course = attributes["course"];
r.macro = attributes["macro"];
transaction->requests.push_back(r);
}