import v1.1.0_beta1 | 2009-08-21

This commit is contained in:
2019-07-17 22:16:19 +02:00
parent 2c1152f0d3
commit 8dee6b1a10
2306 changed files with 251360 additions and 23428 deletions

View File

@ -16,7 +16,7 @@
* @package Zend_TimeSync
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Ntp.php 9488 2008-05-19 20:41:34Z thomas $
* @version $Id: Ntp.php 13522 2009-01-06 16:35:55Z thomas $
*/
/**
@ -50,7 +50,7 @@ class Zend_TimeSync_Ntp extends Zend_TimeSync_Protocol
public function __construct($timeserver, $port = 123)
{
$this->_timeserver = 'udp://' . $timeserver;
if (is_null($port) === false) {
if ($port !== null) {
$this->_port = $port;
}
}