Comment 328 for bug 195698

Revision history for this message
In , Kai Engert (kaie) wrote :

I agree that comparisons like
  if (NS_ERROR_IN_PROGRESS == rv)
are a good idea, as they avoid typos and accidental assignments, it's an old trick, I personally wouldn't reject such code.