diff --git a/src/ca/acctst.c b/src/ca/acctst.c index a0c23d8a5..a8ec9e8ff 100644 --- a/src/ca/acctst.c +++ b/src/ca/acctst.c @@ -1347,7 +1347,7 @@ void arrayTest ( chid chan ) chan, arrayReadNotify, pWF ); SEVCHK ( status, "array read notify request failed" ); - while ( ! arrayWriteNotifyComplete && ! arrayReadNotifyComplete ) { + while ( ! arrayWriteNotifyComplete || ! arrayReadNotifyComplete ) { ca_pend_event ( 0.1 ); }