From: Andre Noll Date: Sun, 21 Jul 2013 14:25:10 +0000 (+0200) Subject: Fix documentation of filter->post-select(). X-Git-Tag: v0.4.13~4 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=7c203d1479735238d886236cd947961a5fb74f8d;hp=0da47d02b44362afe611d125b2f830f619746505 Fix documentation of filter->post-select(). The ->post_select() methods return an integer these days and should *not* set the ->error field of the task struct directly. --- diff --git a/filter.h b/filter.h index 1cda119f..80bc896b 100644 --- a/filter.h +++ b/filter.h @@ -106,8 +106,7 @@ struct filter { * Convert (filter) the given data. * * Pointer to the converting function of the filter. On errors, the - * post_select function is supposed to set t->error to a (negative) - * error code. + * post_select function is supposed to return a negative error code. */ int (*post_select)(struct sched *s, struct task *t); /**