removes unnecessary check fixes #163

This commit is contained in:
Peter Thorson
2012-12-11 06:42:50 -06:00
parent 1c8ba9954e
commit ce1c1d3a76

View File

@@ -283,7 +283,7 @@ void server<endpoint>::start_listen(const boost::asio::ip::tcp::endpoint& e,size
this->start_accept();
}
if (num_threads < 0 || num_threads > MAX_THREAD_POOL_SIZE) {
if (num_threads > MAX_THREAD_POOL_SIZE) {
throw exception("listen called with invalid num_threads value");
}