summaryrefslogtreecommitdiff
path: root/src/mongo/s/request.cpp
diff options
context:
space:
mode:
authorAlberto Lerner <alberto.lerner@gmail.com>2012-05-02 15:26:44 -0400
committerAlberto Lerner <alberto.lerner@gmail.com>2012-05-02 15:27:19 -0400
commit8e5ae62d12cc50fcc7d85dae7804acae932433e1 (patch)
treee3250ca59586fb89b20eae0b640a01656332ad1e /src/mongo/s/request.cpp
parenta105cf0bb3b8bc8aac662441f53deae5e4e83462 (diff)
downloadmongo-8e5ae62d12cc50fcc7d85dae7804acae932433e1.tar.gz
Disambiguated file name.
Diffstat (limited to 'src/mongo/s/request.cpp')
-rw-r--r--src/mongo/s/request.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/request.cpp b/src/mongo/s/request.cpp
index 58960170656..e08abb22d66 100644
--- a/src/mongo/s/request.cpp
+++ b/src/mongo/s/request.cpp
@@ -31,7 +31,7 @@
#include "stats.h"
#include "cursors.h"
#include "grid.h"
-#include "client.h"
+#include "client_info.h"
namespace mongo {
@@ -53,8 +53,8 @@ namespace mongo {
use = need;
else
nsToDatabase(getns(), cl);
-
- uassert( 15845 ,
+
+ uassert( 15845 ,
str::stream() << "unauthorized for db:" << use << " level: " << levelNeeded ,
_clientInfo->getAuthenticationInfo()->isAuthorizedForLevel(use,levelNeeded) );
}