Skip to content

Commit

Permalink
Fix mongos skipping checking the health of the first node in the _nod…
Browse files Browse the repository at this point in the history
…es array

in the replica set monitor.  SERVER-3605
  • Loading branch information
stbrody committed Aug 15, 2011
1 parent 5696d81 commit 861bc07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/dbclient_rs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ namespace mongo {
string host = member["name"].String();

int m = -1;
if ((m = _find(host)) <= 0) {
if ((m = _find(host)) < 0) {
continue;
}

Expand Down

0 comments on commit 861bc07

Please sign in to comment.