summaryrefslogtreecommitdiff
path: root/t_stub.c
diff options
context:
space:
mode:
Diffstat (limited to 't_stub.c')
-rw-r--r--t_stub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/t_stub.c b/t_stub.c
index fc1ee3b9..0c49d9cb 100644
--- a/t_stub.c
+++ b/t_stub.c
@@ -98,7 +98,7 @@ filter_rule_list daemon_filter_list;
return "tester";
}
- int csum_len_for_type(int cst)
+ int csum_len_for_type(int cst, int flg)
{
- return cst ? 16 : 1;
+ return cst || !flg ? 16 : 1;
}