mongodb/mongo-php-driver — pull request #525 by bjori (2013-09-04 19:14:23+00:00)
Title: Fix a segfault in the mongocollection-find_error-001.phpt failover test

When the server doesn't work, we need to unregister it from the manager,
otherwise we keep a dangling pointer to it, and crash when we try to
locate servers to use.

Also fix invalid read, using the wrong error variable on error