diff options
author | Chris Buechler <cmb@pfsense.org> | 2008-07-24 21:18:01 +0000 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2008-07-24 21:18:01 +0000 |
commit | f005f8aef84dc0951ecf0e9ebc3e83b5a3a085cb (patch) | |
tree | 59899224593d7f28779ee7734c400634b0c379b3 | |
parent | a0288aa95464953db1cbb4601c237aeb56ee93b4 (diff) | |
download | pfsense-f005f8aef84dc0951ecf0e9ebc3e83b5a3a085cb.zip pfsense-f005f8aef84dc0951ecf0e9ebc3e83b5a3a085cb.tar.gz |
fix typo
-rw-r--r-- | etc/inc/dyndns.class | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class index fc3441c..811a990 100644 --- a/etc/inc/dyndns.class +++ b/etc/inc/dyndns.class @@ -177,7 +177,7 @@ $port = ":" . $this->_dnsPort; curl_setopt($ch, CURLOPT_URL, $server .$port . '?system=dyndns&hostname=' . $this->_dnsHost . '&myip=' . $this->_dnsIP.'&wildcard='.$this->_dnsWildcard . '&mx=' . $this->_dnsMX . '&backmx=NO'); $data = curl_exec($ch); - if (@curl_error($ch)) log_error("Curl errror occured: " . curl_error($ch)); + if (@curl_error($ch)) log_error("Curl error occurred: " . curl_error($ch)); curl_close($ch); $this->_checkStatus($data); break; @@ -194,7 +194,7 @@ $port = ":" . $this->_dnsPort; curl_setopt($ch, CURLOPT_URL, $server.$port.'?system=statdns&hostname='.$this->_dnsHost.'&myip='.$this->_dnsIP.'&wildcard='.$this->_dnsWildcard.'&mx='.$this->_dnsMX.'&backmx=NO'); $data = curl_exec($ch); - if (@curl_error($ch)) log_error("Curl errror occured: " . curl_error($ch)); + if (@curl_error($ch)) log_error("Curl error occurred: " . curl_error($ch)); curl_close($ch); $this->_checkStatus($data); break; @@ -242,7 +242,7 @@ curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass); curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); $data = curl_exec($ch); - if (@curl_error($ch)) log_error("Curl errror occured: " . curl_error($ch)); + if (@curl_error($ch)) log_error("Curl error occurred: " . curl_error($ch)); curl_close($ch); $this->_checkStatus($data); break; @@ -257,7 +257,7 @@ $port = ":" . $this->_dnsPort; curl_setopt($ch, CURLOPT_URL, $server . $port . '?username=' . urlencode($this->_dnsUser) . '&pass=' . urlencode($this->_dnsPass) . '&hostname=' . $this->_dnsHost.'&ip=' . $this->_dnsIP); $data = curl_exec($ch); - if (@curl_error($ch)) log_error("Curl errror occured: " . curl_error($ch)); + if (@curl_error($ch)) log_error("Curl error occurred: " . curl_error($ch)); curl_close($ch); $this->_checkStatus($data); break; @@ -273,7 +273,7 @@ $port = ":" . $this->_dnsPort; curl_setopt($ch, CURLOPT_URL, $server . $port . '?hostname=' . $this->_dnsHost . '&myip=' . $this->_dnsIP . '&wildcard=' . $this->_dnsWildcard . '&mx=' . $this->_dnsMX . '&backmx=' . $this->_dnsBackMX); $data = curl_exec($ch); - if (@curl_error($ch)) log_error("Curl errror occured: " . curl_error($ch)); + if (@curl_error($ch)) log_error("Curl error occurred: " . curl_error($ch)); curl_close($ch); $this->_checkStatus($data); break; @@ -289,7 +289,7 @@ $port = ":" . $this->_dnsPort; curl_setopt($ch, CURLOPT_URL, $server . $port . '?ver=1&IP=' . $this->_dnsIP); $data = curl_exec($ch); - if (@curl_error($ch)) log_error("Curl errror occured: " . curl_error($ch)); + if (@curl_error($ch)) log_error("Curl error occurred: " . curl_error($ch)); curl_close($ch); $this->_checkStatus($data); break; @@ -308,7 +308,7 @@ curl_setopt($ch, CURLOPT_URL, "{$server}{$port}?host=" .$this->_dnsHost); $data = curl_exec($ch); - if (@curl_error($ch)) log_error("Curl errror occured: " . curl_error($ch)); + if (@curl_error($ch)) log_error("Curl error occurred: " . curl_error($ch)); curl_close($ch); $this->_checkStatus($data); break; @@ -322,7 +322,7 @@ $port = ":" . $this->_dnsPort; curl_setopt($ch, CURLOPT_URL, $server . $port . '?username=' . urlencode($this->_dnsUser) . '&password=' . $this->_dnsPass . '&host=' . $this->_dnsHost); $data = curl_exec($ch); - if (@curl_error($ch)) log_error("Curl errror occured: " . curl_error($ch)); + if (@curl_error($ch)) log_error("Curl error occurred: " . curl_error($ch)); curl_close($ch); $this->_checkStatus($data); break; @@ -368,7 +368,7 @@ $needIP = FALSE; curl_setopt($ch, CURLOPT_URL, 'http://freedns.afraid.org/dynamic/update.php?' . $this->_dnsHost); $data = curl_exec($ch); - if (@curl_error($ch)) log_error("Curl errror occured: " . curl_error($ch)); + if (@curl_error($ch)) log_error("Curl error occurred: " . curl_error($ch)); curl_close($ch); $this->_checkStatus($data); break; @@ -376,7 +376,7 @@ $needsIP = TRUE; curl_setopt($ch, CURLOPT_URL, 'http://www.dnsexit.com/RemoteUpdate.sv?login='.$this->_dnsUser. '&password='.$this->_dnsPass.'&host='.$this->_dnsHost.'&myip='.$this->_dnsIP); $data = curl_exec($ch); - if (@curl_error($ch)) log_error("Curl errror occured:" . curl_error($ch)); + if (@curl_error($ch)) log_error("Curl error occurred:" . curl_error($ch)); curl_close($ch); $this->_checkStatus($data); break; @@ -386,7 +386,7 @@ curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass); curl_setopt($ch, CURLOPT_URL, 'https://dns.loopia.se/XDynDNSServer/XDynDNS.php?hostname='.$this->_dnsHost.'&myip='.$this->_dnsIP); $data = curl_exec($ch); - if (@curl_error($ch)) log_error("Curl errror occured: " . curl_error($ch)); + if (@curl_error($ch)) log_error("Curl error occurred: " . curl_error($ch)); curl_close($ch); $this->_checkStatus($data); break; |