From 509e1202eb44b281f0fcbb295d1590331ba3b0d1 Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 25 Mar 2011 20:32:56 +0000 Subject: [PATCH] Correct log messages to not display port twice. --- etc/inc/voucher.inc | 4 ++-- etc/inc/xmlrpc_client.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc index f4b5e1ba1f..2d54f0765e 100644 --- a/etc/inc/voucher.inc +++ b/etc/inc/voucher.inc @@ -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'; diff --git a/etc/inc/xmlrpc_client.inc b/etc/inc/xmlrpc_client.inc index a3b9cad7aa..8b8a9a21bd 100644 --- a/etc/inc/xmlrpc_client.inc +++ b/etc/inc/xmlrpc_client.inc @@ -2077,4 +2077,4 @@ function XML_RPC_encode($php_val) * End: */ -?> \ No newline at end of file +?>