diff --git a/src/windows.c b/src/windows.c index a26fc7e07..c87e4ca43 100644 --- a/src/windows.c +++ b/src/windows.c @@ -974,9 +974,10 @@ unsigned long *colormasks UNUSED; return; /* processed one field other than BL_FLUSH */ } /* (idx >= 0, thus not BL_FLUSH, BL_RESET, BL_CHARACTERISTICS) */ - if (idx != BL_FLUSH && idx != BL_RESET) + /* does BL_RESET require any specific code to ensure all fields ? */ + + if (!(idx == BL_FLUSH || idx == BL_RESET)) return; - /* does BL_RESET require any additional code to ensure all fields ? */ /* We've received BL_FLUSH; time to output the gathered data */ nb = newbot1;