Use edg_wll_NotifIdDup() to copy the whole notification structure. Fixes bug
authorDaniel Kouřil <kouril@ics.muni.cz>
Mon, 14 Aug 2006 14:48:41 +0000 (14:48 +0000)
committerDaniel Kouřil <kouril@ics.muni.cz>
Mon, 14 Aug 2006 14:48:41 +0000 (14:48 +0000)
#18879

org.glite.lb.server/src/il_notification.c

index c35c221..d183203 100644 (file)
@@ -57,7 +57,7 @@ notif_create_ulm(
        event->any.level = context->p_level;
        event->any.source = context->p_source;
        if (context->p_instance) event->notification.src_instance = strdup(context->p_instance);
-       event->notification.notifId = reg_id;
+       event->notification.notifId = edg_wll_NotifIdDup(reg_id);
        if (owner) event->notification.owner = strdup(owner);
        if (host) event->notification.dest_host = strdup(host);
        event->notification.dest_port = port;