diff options
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)); |