mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-27 07:58:49 +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 ) {
|
||||
(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];
|
||||
|
|
Loading…
Add table
Reference in a new issue