summaryrefslogtreecommitdiff
path: root/lib/util/util_strlist.c
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2010-02-21 16:58:07 +1100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-02-22 21:45:35 +0100
commitdd89dc2c3166d4bbcb3aacfb7222488c69e10485 (patch)
tree22279736dfd14bbf75ca3a726a59b16b61872dfb /lib/util/util_strlist.c
parente4c2f4dc75ad38bfeb7c8b8015a48b6b49b22b90 (diff)
downloadsamba-dd89dc2c3166d4bbcb3aacfb7222488c69e10485.tar.gz
samba-dd89dc2c3166d4bbcb3aacfb7222488c69e10485.tar.bz2
samba-dd89dc2c3166d4bbcb3aacfb7222488c69e10485.zip
Spelling fixes for libutil
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Diffstat (limited to 'lib/util/util_strlist.c')
-rw-r--r--lib/util/util_strlist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/util/util_strlist.c b/lib/util/util_strlist.c
index af733d10cc..953862da85 100644
--- a/lib/util/util_strlist.c
+++ b/lib/util/util_strlist.c
@@ -121,7 +121,7 @@ _PUBLIC_ char **str_list_make(TALLOC_CTX *mem_ctx, const char *string, const cha
/**
* build a null terminated list of strings from an argv-like input string
- * Entries are seperated by spaces and can be enclosed by quotes.
+ * Entries are separated by spaces and can be enclosed by quotes.
* Does NOT support escaping
*/
_PUBLIC_ char **str_list_make_shell(TALLOC_CTX *mem_ctx, const char *string, const char *sep)
@@ -183,7 +183,7 @@ _PUBLIC_ char **str_list_make_shell(TALLOC_CTX *mem_ctx, const char *string, con
/**
* join a list back to one string
*/
-_PUBLIC_ char *str_list_join(TALLOC_CTX *mem_ctx, const char **list, char seperator)
+_PUBLIC_ char *str_list_join(TALLOC_CTX *mem_ctx, const char **list, char separator)
{
char *ret = NULL;
int i;
@@ -194,14 +194,14 @@ _PUBLIC_ char *str_list_join(TALLOC_CTX *mem_ctx, const char **list, char sepera
ret = talloc_strdup(mem_ctx, list[0]);
for (i = 1; list[i]; i++) {
- ret = talloc_asprintf_append_buffer(ret, "%c%s", seperator, list[i]);
+ ret = talloc_asprintf_append_buffer(ret, "%c%s", separator, list[i]);
}
return ret;
}
/** join a list back to one (shell-like) string; entries
- * seperated by spaces, using quotes where necessary */
+ * separated by spaces, using quotes where necessary */
_PUBLIC_ char *str_list_join_shell(TALLOC_CTX *mem_ctx, const char **list, char sep)
{
char *ret = NULL;