summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/ifw/report_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/ifw/report_list.c b/src/plugins/ifw/report_list.c
index c21df7e..290746c 100644
--- a/src/plugins/ifw/report_list.c
+++ b/src/plugins/ifw/report_list.c
@@ -30,7 +30,7 @@ report_list_cell_t *report_list_find(report_list_t *list, u_int32_t addr, int in
__list_for_each(entry, list) {
report_list_cell_t *cell;
cell = list_entry(entry, report_list_cell_t, list);
- if (cell->info.s_addr == addr && include_processed || !cell->processed) {
+ if (cell->info.s_addr == addr && (include_processed || !cell->processed)) {
return cell;
}
}