summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/message_server_port.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@10gen.com>2012-03-26 11:02:09 -0400
committerAndy Schwerin <schwerin@10gen.com>2012-03-26 11:02:09 -0400
commit85f5e091eeac1a15a948dd510fcfb4c4c95660b1 (patch)
tree0d98bbb235c650db93287ad9318853f54aea04bc /src/mongo/util/net/message_server_port.cpp
parenta2d6f752d56aa446220b9f14c8ad3865c2fb5db8 (diff)
downloadmongo-85f5e091eeac1a15a948dd510fcfb4c4c95660b1.tar.gz
SERVER-1259: Another batch of replacing "verify" with "assert" and getting rid of the error code.
To be followed with a bulk replace of "assert" with "verify" after the error codes are gone.
Diffstat (limited to 'src/mongo/util/net/message_server_port.cpp')
-rw-r--r--src/mongo/util/net/message_server_port.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/net/message_server_port.cpp b/src/mongo/util/net/message_server_port.cpp
index 062e439f291..a457c88193f 100644
--- a/src/mongo/util/net/message_server_port.cpp
+++ b/src/mongo/util/net/message_server_port.cpp
@@ -141,7 +141,7 @@ namespace mongo {
static const size_t STACK_SIZE = 1024*1024; // if we change this we need to update the warning
struct rlimit limits;
- verify(15887, getrlimit(RLIMIT_STACK, &limits) == 0);
+ assert(getrlimit(RLIMIT_STACK, &limits) == 0);
if (limits.rlim_cur > STACK_SIZE) {
pthread_attr_setstacksize(&attrs, (DEBUG_BUILD
? (STACK_SIZE / 2)