Fix error handling in poll_cb()

Clang correctly reports this as a problem:
  "use of logical '||' with constant operand"

I'm not sure what the compiler actually does here if we
omit the second "stat ==", so just fix it.