Permalink
Browse files

1 and 0 are not bools

  • Loading branch information...
1 parent 1f3ac38 commit 6999e383c698d7497b9e4e16b98422010f096321 @milkie milkie committed May 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/mongo/db/dbcommands_admin.cpp
@@ -169,12 +169,12 @@ namespace mongo {
if ( ! d ) {
errmsg = "ns not found";
- return 0;
+ return false;
}
result.append( "ns", ns );
validateNS( ns.c_str() , d, cmdObj, result);
- return 1;
+ return true;
}
private:

0 comments on commit 6999e38

Please sign in to comment.