Fix typo in error message
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 13 Oct 2010 10:02:03 +0000 (12:02 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 13 Oct 2010 10:02:22 +0000 (12:02 +0200)
src/logger.cpp

index 4df181e..58bdd1e 100644 (file)
@@ -1294,7 +1294,7 @@ void Logger::print_httphelper_not_initialized() const
 
 
 /**
- * An curl error occured.
+ * A curl error occured.
  * @param msg The error message
  * @param curl_err_code The resulting curl error code
  */
@@ -1318,7 +1318,7 @@ void Logger::print_curl_error_init(const std::string& err_msg, const CURLcode cu
 
 
 /**
- * An curl error occured.
+ * A curl error occured.
  * @param url The url requested by the curl operation
  * @param curl_err_code The resulting curl error code
  */
@@ -1346,7 +1346,7 @@ void Logger::print_curl_error(const string& url, const CURLcode curl_err_code) c
 
 
 /**
- * An curl error occured.
+ * A curl error occured.
  * @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
@@ -1584,7 +1584,7 @@ void Logger::print_exception_md5_sum(const string& what) const
 
 
 /**
- * An network exception occured.
+ * A network exception occured.
  * @param what The exception occured.
  */
 void Logger::print_network_error(const string& what) const
@@ -1593,7 +1593,7 @@ void Logger::print_network_error(const string& what) const
     if ( level <= Loglevel )
     {
         ostringstream msg;
-        msg << "An netowrk exception occured: " << what << endl;
+        msg << "A network exception occured: " << what << endl;
         log_error(msg.str());
     }
 }