diff options
author | deva <deva> | 2009-05-15 11:52:52 +0000 |
---|---|---|
committer | deva <deva> | 2009-05-15 11:52:52 +0000 |
commit | ba614b9d61f9eb7407108d7836177aa0608823e6 (patch) | |
tree | d71cfa6bcd472ed6cc41a69f015d16a4cb9326eb /server/src/server.cc | |
parent | 124384095470c9b2cfb046ff931152583c6df65a (diff) |
Journal entries are now committed in the order in which they appear in the course description (the template). Misspelled 'macroes' have been corrected to 'macros' in template.h and all affected files.
Diffstat (limited to 'server/src/server.cc')
-rw-r--r-- | server/src/server.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/server/src/server.cc b/server/src/server.cc index a0dbaa4..2641b8a 100644 --- a/server/src/server.cc +++ b/server/src/server.cc @@ -109,11 +109,6 @@ static std::string handleTransaction(Transaction *transaction, if(resume != "" && store_in_journal) { journalwriter.addEntry(*transaction, commit, resume, commit.course); - /* - journal_commit(transaction->cpr.c_str(), transaction->user.c_str(), - Conf::journal_commit_addr.c_str(), Conf::journal_commit_port, - resume.c_str(), resume.length()); - */ } i++; @@ -145,8 +140,8 @@ static std::string handleTransaction(Transaction *transaction, bool foundmacro = false; // Generate the macro and return it to the client - std::vector< Macro >::iterator mi2 = templ->course.macroes.begin(); - while(mi2 != templ->course.macroes.end()) { + std::vector< Macro >::iterator mi2 = templ->course.macros.begin(); + while(mi2 != templ->course.macros.end()) { Macro ¯o = (*mi2); // FIXME: This is to be made in some other way in a later version. |