/*
- * Copyright (C) 2005-2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2008 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
continue;
/* success */
j = 1;
- list_for_each_entry(fn, &s->fc->filters, node)
+ FOR_EACH_FILTER_NODE(fn, s->fc, j) {
if (filternum <= 0 || j++ == filternum)
break;
+ }
return fn;
}
return NULL;