]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add brackets
authorMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 04:58:19 +0000 (15:58 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Feb 2018 03:08:26 +0000 (14:08 +1100)
bin/tests/tasks/t_tasks.c

index f94db4ed69adc051f1b30db33accd7f4154b65d4..adebd3a9d916a8fe4b56cdf613f86fcb19574403 100644 (file)
@@ -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 {