From eb4c54bf5a33c9e4a83c52e5e477393cda0ce5ed Mon Sep 17 00:00:00 2001 From: Alberto Lerner Date: Tue, 23 Nov 2010 08:18:37 -0500 Subject: [PATCH] compile --- shell/dbshell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/dbshell.cpp b/shell/dbshell.cpp index 30aa0b7994e..d2632f2dae9 100644 --- a/shell/dbshell.cpp +++ b/shell/dbshell.cpp @@ -456,7 +456,7 @@ void sayReplSetMemberState() { if( latestConn->simpleCommand("admin", &info, "replSetGetStatus") ) { stringstream ss; ss << info["set"].String() << ':'; - int s = info["myState"].Number(); + int s = info["myState"].Int(); MemberState ms(s); ss << stateToString(ms); cout << ss.str();