diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-13 17:55:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-13 17:55:46 +0000 |
commit | b385831dda7f7f924544413f885f8d5b1958644f (patch) | |
tree | 41c42451f014167ae0e442c6910bcef343ccff6f /etc | |
parent | 301be70d7ea2a848fadb546e95ed60c144dd64a9 (diff) | |
download | pfsense-b385831dda7f7f924544413f885f8d5b1958644f.zip pfsense-b385831dda7f7f924544413f885f8d5b1958644f.tar.gz |
Correct error.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index e0f7f48..48ee6f6 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -2348,9 +2348,9 @@ function carp_sync_xml($url, $password, $section, $section_xml, $method = 'pfsen $cli->setCredentials('admin', $password); $resp = $cli->send($msg); if(!$resp) { - log_error("A communication error occured while syncing configuration data with {$url}:{$port} - {$cli->errstr}"); + log_error("A communication error occured while syncing configuration data with {$url}:{$port} - " . $cli->errstr); } elseif($resp->faultCode()) { - log_error("An error code was received while syncing configuration data with {$url}:{$port} - Code {$resp->faultCode()}: {$resp->faultString()}"); + log_error("An error code was received while syncing configuration data with {$url}:{$port} - Code " . $resp->faultCode() . ":" . $resp->faultString() ); } else { log_error("Configuration data was successfully synced to {$url}:{$port}"); } @@ -2368,13 +2368,13 @@ function carp_sync_client() { $synchronizetoip = $config['system']['webgui']['protocol']; $synchronizetoip .= "://"; } - $port = $config['system']['webgui']['port']; - /* if port is empty lets rely on the protocol selection */ + $port = $config['system']['webgui']['port']; + /* if port is empty lets rely on the protocol selection */ if($port == "") { - if($config['system']['webgui']['protocol'] == "http") - $port = "80"; - else - $port = "443"; + if($config['system']['webgui']['protocol'] == "http") { + $port = "80"; + } else { + $port = "443"; } } $synchronizetoip .= $carp['synchronizetoip']; |