aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-02-18 10:35:02 +0100
committerTobias Brunner <tobias@strongswan.org>2014-02-18 10:36:25 +0100
commit4ab38d98a709ee05d404a8b9a6748eff60507aed (patch)
treebdfe8931ce9e51734288cbb58f072cda4b29d463 /src/libstrongswan/utils
parent86865da388f769ca991d6fb5a2ddeb22b5655ca2 (diff)
downloadstrongswan-4ab38d98a709ee05d404a8b9a6748eff60507aed.tar.bz2
strongswan-4ab38d98a709ee05d404a8b9a6748eff60507aed.tar.xz
Fixed some typos
Diffstat (limited to 'src/libstrongswan/utils')
-rw-r--r--src/libstrongswan/utils/utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstrongswan/utils/utils.h b/src/libstrongswan/utils/utils.h
index 7e4bfb2de..5cd0a34b1 100644
--- a/src/libstrongswan/utils/utils.h
+++ b/src/libstrongswan/utils/utils.h
@@ -472,7 +472,7 @@ void *memstr(const void *haystack, const char *needle, size_t n);
char *translate(char *str, const char *from, const char *to);
/**
- * Replaces all occurences of search in the given string with replace.
+ * Replaces all occurrences of search in the given string with replace.
*
* Allocates memory only if anything is replaced in the string. The original
* string is also returned if any of the arguments are invalid (e.g. if search
@@ -480,7 +480,7 @@ char *translate(char *str, const char *from, const char *to);
*
* @param str original string
* @param search string to search for and replace
- * @param replace string to replace found occurences with
+ * @param replace string to replace found occurrences with
* @return allocated string, if anything got replaced, str otherwise
*/
char *strreplace(const char *str, const char *search, const char *replace);
@@ -515,7 +515,7 @@ const char *safe_strerror(int errnum);
/**
* Close open file descriptors greater than or equal to lowfd.
*
- * @param lowfd start closing file descriptoros from here
+ * @param lowfd start closing file descriptors from here
*/
void closefrom(int lowfd);
#endif