Fix 'occurred' typo
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 23 May 2020 10:33:35 +0000 (12:33 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 23 May 2020 10:33:35 +0000 (12:33 +0200)
src/filefunc.cpp
src/insocketstream.hxx
src/pipestream.hxx

index e1e4882..9764521 100644 (file)
@@ -1001,7 +1001,7 @@ long long get_free_diskspace(const std::string& path)
 
     if (ret==-1)
     {
-        // a real error occured
+        // a real error occurred
         return -1;
     }
 
index 15f7821..053e481 100644 (file)
@@ -39,7 +39,7 @@ on this file might be covered by the GNU General Public License.
 
 #include "exception.hxx"
 
-// ATTENTION: A lot of mysterious STL bugs occured
+// ATTENTION: A lot of mysterious STL bugs occurred
 //            with a "real" buffer (buffer larger than 1 byte and up to 100 bytes)
 //            -> Keep it slow and working!
 
index e22479b..667b791 100644 (file)
@@ -112,7 +112,7 @@ inline std::string capture_exec(const std::vector<std::string>& command)
  * opens pipe to command using popen; exit status available after destruction
  * (use WEXITSTATUS to get the "regular" return code (lowest byte))
  *
- * ATTENTION: A lot of mysterious STL bugs occured
+ * ATTENTION: A lot of mysterious STL bugs occurred
  *            with a "real" buffer (buffer larger than 1 byte and up to 100 bytes)
  *            -> Keep it slow and working!
  */