Fix crash on FreeBSD (#177)

This change fix #177 and compiler warning too.
This commit is contained in:
Lev Serebryakov
2017-11-21 02:10:04 +03:00
committed by GitHub
parent 79154f76de
commit 6562bf9c2d
+1
View File
@@ -158,6 +158,7 @@ bool jconf::GetPoolConfig(size_t id, pool_cfg& cfg)
}
else /* Special case - user selected same weights for everything */
cfg.weight = 0.0;
return true;
}
bool jconf::TlsSecureAlgos()