diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-15 03:35:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-15 03:35:19 +0000 |
commit | 8fd749cc3340bcafb2df8684dc315b3b572a7890 (patch) | |
tree | b7dec61267b7dc40021adc52dd19891c70077833 | |
parent | 767a716ecd96105621e239633c04651a02bd8fb8 (diff) | |
download | pfsense-8fd749cc3340bcafb2df8684dc315b3b572a7890.zip pfsense-8fd749cc3340bcafb2df8684dc315b3b572a7890.tar.gz |
Correct errors found by eclipse
-rwxr-xr-x | usr/local/www/xmlrpc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php index 391bc63..d63f7da 100755 --- a/usr/local/www/xmlrpc.php +++ b/usr/local/www/xmlrpc.php @@ -120,6 +120,7 @@ $check_firmware_version_sig = array( ); function check_firmware_version_xmlrpc($raw_params) { + global $XML_RPC_String; return new XML_RPC_Response(new XML_RPC_Value(check_firmware_version(false), $XML_RPC_String)); } @@ -172,7 +173,7 @@ $carp_configure_sig = array( ); function interfaces_carp_configure_xmlrpc($raw_params) { - global $xmlrpc_g; + global $xmlrpc_g, $XML_RPC_Boolean, $XML_RPC_String; $params = xmlrpc_params_to_php($raw_params); if(!xmlrpc_auth($params)) return new XML_RPC_Response(new XML_RPC_Value("auth_failure", $XML_RPC_String)); interfaces_carp_configure(); |