summaryrefslogtreecommitdiff
path: root/server/src/journal_uploadserver.cc
diff options
context:
space:
mode:
authordeva <deva>2011-01-25 12:17:47 +0000
committerdeva <deva>2011-01-25 12:17:47 +0000
commit13f286925b1e9e34fe71413edcba23686c005f8a (patch)
treed1ea04756f6eb198fb18a367423670734e6e062a /server/src/journal_uploadserver.cc
parent1680325095c79bd66c13e6e0bd9fb6340c83a1e0 (diff)
New database layout.
Diffstat (limited to 'server/src/journal_uploadserver.cc')
-rw-r--r--server/src/journal_uploadserver.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/journal_uploadserver.cc b/server/src/journal_uploadserver.cc
index ce88f02..9988c81 100644
--- a/server/src/journal_uploadserver.cc
+++ b/server/src/journal_uploadserver.cc
@@ -167,6 +167,10 @@ void JournalUploadServer::commit()
// Iterate through all resumes, and create a string containing them all.
std::map< int, ResumeEntry >::iterator i = entrylist.begin();
while(i != entrylist.end()) {
+ if(i->second.dirty) {
+ i++;
+ continue;
+ }
if(resume != "") resume += "\n\n";
// resume += i->macro + "\n";
resume += stripTrailingWhitepace(addNewlines(i->second.resume, 60));