From f005f8aef84dc0951ecf0e9ebc3e83b5a3a085cb Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Thu, 24 Jul 2008 21:18:01 +0000 Subject: [PATCH] fix typo --- etc/inc/dyndns.class | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class index fc3441cdeb..811a990a9b 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;