fall through to using hard-coded maxsocks value

This commit is contained in:
Eric House 2013-01-20 09:22:35 -08:00
parent 3bcf5d504b
commit b768d8fccc

View file

@ -1577,9 +1577,7 @@ main( int argc, char** argv )
if ( nWorkerThreads == 0 ) {
(void)cfg->GetValueFor( "NTHREADS", &nWorkerThreads );
}
if ( g_maxsocks == -1 ) {
(void)cfg->GetValueFor( "MAXSOCKS", &g_maxsocks );
} else {
if ( g_maxsocks == -1 && !cfg->GetValueFor( "MAXSOCKS", &g_maxsocks ) ) {
g_maxsocks = 100;
}
char serverNameBuf[128];