From 99af4e7d52f94458ca2f453b126ff82fa21c82e9 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 15 Feb 2018 15:58:19 +1100 Subject: [PATCH] add brackets --- bin/tests/tasks/t_tasks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/tasks/t_tasks.c b/bin/tests/tasks/t_tasks.c index f94db4ed69..adebd3a9d9 100644 --- a/bin/tests/tasks/t_tasks.c +++ b/bin/tests/tasks/t_tasks.c @@ -1366,7 +1366,7 @@ t10_event2(isc_task_t *task, isc_event_t *event) { event->ev_sender, (int)event->ev_type, event->ev_tag, - event->ev_attributes & ISC_EVENTATTR_NOPURGE ? + ((event->ev_attributes & ISC_EVENTATTR_NOPURGE) != 0) ? "NP" : "P"); } @@ -1392,7 +1392,7 @@ t10_event2(isc_task_t *task, isc_event_t *event) { if (sender_match && type_match && tag_match) { if (event->ev_attributes & ISC_EVENTATTR_NOPURGE) { t_info("event %p,%d,%p matched but was not purgable\n", - event->ev_sender, (int)event->ev_type, + event->ev_sender, (int)event->ev_type, event->ev_tag); ++T10_eventcnt; } else {