summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 09c94b1)
raw | patch | inline | side by side (parent: 09c94b1)
author | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Fri, 13 Jun 2008 12:56:10 +0000 (14:56 +0200) | ||
committer | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Fri, 13 Jun 2008 12:56:10 +0000 (14:56 +0200) |
Otherwise we will run into a nasty endless loop.
src/exec.c | patch | blob | history |
diff --git a/src/exec.c b/src/exec.c
index 5f9d6ad290bef18369139b9c3630776567041108..6b6836e99d033723c75fefda49dd36b8242ea00a 100644 (file)
--- a/src/exec.c
+++ b/src/exec.c
pln->pl = pl;
memcpy (&pln->n, n, sizeof (notification_t));
+
+ /* Set the `meta' member to NULL, otherwise `plugin_notification_meta_copy'
+ * will run into an endless loop. */
+ pln->n.meta = NULL;
plugin_notification_meta_copy (&pln->n, n);
pthread_attr_init (&attr);