From 307b9527e6ed344c519a3f20ab6357bc9160e142 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 2 Sep 2008 13:20:39 -0400 Subject: variable name conflict on reconnect darcs-hash:20080902172039-84dde-2b1bbac407959af2a5ca0c764aa503f0cb05c785.gz --- extlib/XMPPHP/XMLStream.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extlib/XMPPHP') diff --git a/extlib/XMPPHP/XMLStream.php b/extlib/XMPPHP/XMLStream.php index b27811407..3916abea2 100644 --- a/extlib/XMPPHP/XMLStream.php +++ b/extlib/XMPPHP/XMLStream.php @@ -156,7 +156,7 @@ class XMPPHP_XMLStream { /** * @var integer */ - protected $reconnect = 30; + protected $reconnectTimeout = 30; /** * Constructor @@ -296,14 +296,14 @@ class XMPPHP_XMLStream { */ public function doReconnect() { if(!$this->is_server) { - $this->log->log("Reconnecting ($this->reconnect)...", XMPPHP_Log::LEVEL_WARNING); - $this->connect($this->reconnect, false, false); + $this->log->log("Reconnecting ($this->reconnectTimeout)...", XMPPHP_Log::LEVEL_WARNING); + $this->connect($this->reconnectTimeout, false, false); $this->reset(); $this->event('reconnect'); } } - public function reconnectTimeout($timeout) { + public function setReconnectTimeout($timeout) { $this->reconnect = $timeout; } -- cgit v1.2.3-54-g00ecf