diff --git a/src/modules/history_backend_mem.c b/src/modules/history_backend_mem.c index 225ce44c8..cf80020e2 100644 --- a/src/modules/history_backend_mem.c +++ b/src/modules/history_backend_mem.c @@ -136,7 +136,7 @@ void hbm_duplicate_mtags(HistoryLogLine *l, MessageTag *m) for (; m; m = m->next) { n = duplicate_mtag(m); - AddListItem(n, l->mtags); + AppendListItem(n, l->mtags); } n = find_mtag(l->mtags, "time"); if (!n)