зеркало из https://github.com/mozilla/gecko-dev.git
Bug 316224 - Add return value for net_connect to quell strict warnings.
ChatZilla only. r=silver p=gijskruitbosch+bugs@gmail.com (Gijs Kruitbosch)
This commit is contained in:
Родитель
616217eec6
Коммит
edc6cfbca8
|
@ -229,7 +229,7 @@ CIRCNetwork.prototype.connect =
|
|||
function net_connect(requireSecurity)
|
||||
{
|
||||
if ("primServ" in this && this.primServ.isConnected)
|
||||
return;
|
||||
return true;
|
||||
|
||||
// We need to test for secure servers in the network object here,
|
||||
// because without them all connection attempts will fail anyway.
|
||||
|
|
Загрузка…
Ссылка в новой задаче