[dss-commits] digitalSTROM Server branch, master, updated. 3bfbea8c768b95375f07c044205f810e8eb3e5b5

git version control dss-commits at forum.digitalstrom.org
Mon Nov 23 14:29:45 CET 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "digitalSTROM Server".

The branch, master has been updated
       via  3bfbea8c768b95375f07c044205f810e8eb3e5b5 (commit)
      from  d545151f73185e53773fac786159778dbd27f86c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3bfbea8c768b95375f07c044205f810e8eb3e5b5
Author: Johannes Winkelmann <johannes.winkelmann at aizo.com>
Date:   Mon Nov 23 14:07:23 2009 +0100

    EventRunner: fix usage of invalid iterator (Refs: #221)
    
    Fix by Roman Köhler

-----------------------------------------------------------------------

Changes:
diff --git a/core/event.cpp b/core/event.cpp
index 18afc1e..a76570b 100644
--- a/core/event.cpp
+++ b/core/event.cpp
@@ -529,7 +529,7 @@ namespace dss {
       }
       if(next == DateTime::NullDate) {
         Logger::getInstance()->log("EventRunner: Removing event");
-        m_ScheduledEvents.erase(ipSchedEvt++);
+        ipSchedEvt = m_ScheduledEvents.erase(ipSchedEvt);
         continue;
       }
       result = std::min(result, next);


hooks/post-receive
-- 
digitalSTROM Server


More information about the dss-commits mailing list