mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
fall through to using hard-coded maxsocks value
This commit is contained in:
parent
3bcf5d504b
commit
b768d8fccc
1 changed files with 1 additions and 3 deletions
|
@ -1577,9 +1577,7 @@ main( int argc, char** argv )
|
||||||
if ( nWorkerThreads == 0 ) {
|
if ( nWorkerThreads == 0 ) {
|
||||||
(void)cfg->GetValueFor( "NTHREADS", &nWorkerThreads );
|
(void)cfg->GetValueFor( "NTHREADS", &nWorkerThreads );
|
||||||
}
|
}
|
||||||
if ( g_maxsocks == -1 ) {
|
if ( g_maxsocks == -1 && !cfg->GetValueFor( "MAXSOCKS", &g_maxsocks ) ) {
|
||||||
(void)cfg->GetValueFor( "MAXSOCKS", &g_maxsocks );
|
|
||||||
} else {
|
|
||||||
g_maxsocks = 100;
|
g_maxsocks = 100;
|
||||||
}
|
}
|
||||||
char serverNameBuf[128];
|
char serverNameBuf[128];
|
||||||
|
|
Loading…
Add table
Reference in a new issue