diff options
author | deva <deva> | 2011-01-25 12:17:47 +0000 |
---|---|---|
committer | deva <deva> | 2011-01-25 12:17:47 +0000 |
commit | 13f286925b1e9e34fe71413edcba23686c005f8a (patch) | |
tree | d1ea04756f6eb198fb18a367423670734e6e062a /server/src/journal_uploadserver.cc | |
parent | 1680325095c79bd66c13e6e0bd9fb6340c83a1e0 (diff) |
New database layout.
Diffstat (limited to 'server/src/journal_uploadserver.cc')
-rw-r--r-- | server/src/journal_uploadserver.cc | 4 |
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)); |