Correct log messages to not display port twice.

This commit is contained in:
Ermal 2011-03-25 20:32:56 +00:00
parent 650b573bd8
commit 509e1202eb
2 changed files with 3 additions and 3 deletions

View File

@ -41,9 +41,9 @@ function xmlrpc_sync_voucher_disconnect($dbent, $syncip, $port, $password, $user
global $g, $config;
require_once("xmlrpc.inc");
if($port == "443")
$url = "https://{$syncip}:{$port}";
$url = "https://{$syncip}";
else
$url = "http://{$syncip}:{$port}";
$url = "http://{$syncip}";
/* Construct code that is run on remote machine */
$method = 'pfsense.exec_php';

View File

@ -2077,4 +2077,4 @@ function XML_RPC_encode($php_val)
* End:
*/
?>
?>