Fix 'occurred' typo
[bpdyndnsd] / src / logger.cpp
index 4775f98..50f7847 100644 (file)
@@ -1350,7 +1350,7 @@ void Logger::print_httphelper_not_initialized() const
 
 
 /**
- * A curl error occured.
+ * A curl error occurred.
  * @param msg The error message
  * @param curl_err_code The resulting curl error code
  */
@@ -1374,7 +1374,7 @@ void Logger::print_curl_error_init(const std::string& err_msg, const CURLcode cu
 
 
 /**
- * A curl error occured.
+ * A curl error occurred.
  * @param url The url requested by the curl operation
  * @param curl_err_code The resulting curl error code
  */
@@ -1402,7 +1402,7 @@ void Logger::print_curl_error(const string& url, const CURLcode curl_err_code) c
 
 
 /**
- * A curl error occured.
+ * A curl error occurred.
  * @param url The url requested by the curl operation
  * @param curl_err_code The resulting curl error code
  * @param curl_err_buff The curl error buffer
@@ -1630,8 +1630,8 @@ void Logger::print_gnudip_requires_servername()
 
 
 /**
- * An exception occured while computing the md5 sum.
- * @param what The exception occured.
+ * An exception occurred while computing the md5 sum.
+ * @param what The exception occurred.
  */
 void Logger::print_exception_md5_sum(const string& what) const
 {
@@ -1639,15 +1639,15 @@ void Logger::print_exception_md5_sum(const string& what) const
     if ( level <= Loglevel )
     {
         ostringstream msg;
-        msg << "An exception occured while computing a md5 sum: " << what << endl;
+        msg << "An exception occurred while computing a md5 sum: " << what << endl;
         log_error(msg.str());
     }
 }
 
 
 /**
- * A network exception occured.
- * @param what The exception occured.
+ * A network exception occurred.
+ * @param what The exception occurred.
  */
 void Logger::print_network_error(const string& what) const
 {
@@ -1655,14 +1655,14 @@ void Logger::print_network_error(const string& what) const
     if ( level <= Loglevel )
     {
         ostringstream msg;
-        msg << "A network exception occured: " << what << endl;
+        msg << "A network exception occurred: " << what << endl;
         log_error(msg.str());
     }
 }
 
 
 /**
- * An undefined protocol error occured.
+ * An undefined protocol error occurred.
  * @param protocol The protocol
  * @param error The error
  */
@@ -1672,7 +1672,7 @@ void Logger::print_undefined_protocol_error(const string& protocol, const string
     if ( level <= Loglevel )
     {
         ostringstream msg;
-        msg << "An undefined protocol error occured. Protocol: " << protocol << " Error: " << error << endl;
+        msg << "An undefined protocol error occurred. Protocol: " << protocol << " Error: " << error << endl;
         log_error(msg.str());
     }
 }
@@ -1695,7 +1695,7 @@ void Logger::print_error_external_logging(const string& external_prog) const
 
 /**
  * Error while parsing config file.
- * @param error Error occured.
+ * @param error Error occurred.
  * @param config_file Config file.
  */
 void Logger::print_error_parsing_config_file(const string& filename, const string& error) const