fix assert when dropping not used notification registration
authorMichal Voců <michal@ruk.cuni.cz>
Fri, 2 Apr 2010 16:56:29 +0000 (16:56 +0000)
committerMichal Voců <michal@ruk.cuni.cz>
Fri, 2 Apr 2010 16:56:29 +0000 (16:56 +0000)
org.glite.lb.logger/src/event_store.c

index 7b62126..1824899 100644 (file)
@@ -865,7 +865,7 @@ event_store_recover(struct event_store *es)
   }
 
   /* if the expiration changed, set new one */
-  if(last_exp != notifid_map_get_expiration(es->job_id_s)) {
+  if(eq_b && last_exp != notifid_map_get_expiration(es->job_id_s)) {
          struct cmp_exp_data data;
 
          notifid_map_set_expiration(es->job_id_s, last_exp);