From 9050e9f7dea8f5ebb44e108100d73da7f941da40 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Sat, 23 May 2020 12:33:35 +0200 Subject: [PATCH] Fix 'occurred' typo --- src/filefunc.cpp | 2 +- src/insocketstream.hxx | 2 +- src/pipestream.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/filefunc.cpp b/src/filefunc.cpp index e1e4882..9764521 100644 --- a/src/filefunc.cpp +++ b/src/filefunc.cpp @@ -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; } diff --git a/src/insocketstream.hxx b/src/insocketstream.hxx index 15f7821..053e481 100644 --- a/src/insocketstream.hxx +++ b/src/insocketstream.hxx @@ -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! diff --git a/src/pipestream.hxx b/src/pipestream.hxx index e22479b..667b791 100644 --- a/src/pipestream.hxx +++ b/src/pipestream.hxx @@ -112,7 +112,7 @@ inline std::string capture_exec(const std::vector& 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! */ -- 1.7.1