X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Ftimer.c;h=b90c85f8238a20b771c3441fb607fcb6781d5143;hb=eb9da376d76b48585b3b63b4f91903b54f7abd36;hp=9166c1e2fc65ac3b450f9587298f1a5eab6e48c1;hpb=44a6b1b68029833893f6e9cee35aa27a974038f6;p=elogind.git diff --git a/src/core/timer.c b/src/core/timer.c index 9166c1e2f..b90c85f82 100644 --- a/src/core/timer.c +++ b/src/core/timer.c @@ -54,7 +54,7 @@ void timer_free_values(Timer *t) { assert(t); while ((v = t->values)) { - LIST_REMOVE(TimerValue, value, t->values, v); + LIST_REMOVE(value, t->values, v); if (v->calendar_spec) calendar_spec_free(v->calendar_spec);