]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mood.c
Merge branch 'refs/heads/t/score-formula'
[paraslash.git] / mood.c
diff --git a/mood.c b/mood.c
index a5d2b025c479bf7907a80e4df22a83fc06791d8e..bf3f39fa26934fd832b5847f034fdd151602145b 100644 (file)
--- a/mood.c
+++ b/mood.c
@@ -269,9 +269,9 @@ static struct mood *alloc_new_mood(const char *name)
        struct mood *m = para_calloc(sizeof(struct mood));
        if (name)
                m->name = para_strdup(name);
-       INIT_LIST_HEAD(&m->accept_list);
-       INIT_LIST_HEAD(&m->deny_list);
-       INIT_LIST_HEAD(&m->score_list);
+       init_list_head(&m->accept_list);
+       init_list_head(&m->deny_list);
+       init_list_head(&m->score_list);
        return m;
 }