summaryrefslogtreecommitdiff
path: root/libstore
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2011-08-15 22:10:09 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-20 18:36:33 +0200
commitc0eaf0fad88f15c843098a43ca2cadbf009ce094 (patch)
tree7b129c5055ded1aa400d34409d64bbab363b3e9e /libstore
parent5a3976828225947d333ff2326d04f8b20e48e072 (diff)
fix common misspellings
* Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
Diffstat (limited to 'libstore')
-rw-r--r--libstore/argp.c2
-rw-r--r--libstore/kids.c4
-rw-r--r--libstore/store.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/libstore/argp.c b/libstore/argp.c
index 9af7ae57..6ed79964 100644
--- a/libstore/argp.c
+++ b/libstore/argp.c
@@ -365,7 +365,7 @@ parse_opt (int opt, char *arg, struct argp_state *state)
break;
case ARGP_KEY_ERROR:
- /* Parsing error occured, free everything. */
+ /* Parsing error occurred, free everything. */
store_parsed_free (parsed); break;
case ARGP_KEY_SUCCESS:
diff --git a/libstore/kids.c b/libstore/kids.c
index f254bcd3..901a7f85 100644
--- a/libstore/kids.c
+++ b/libstore/kids.c
@@ -103,7 +103,7 @@ store_decode_children (struct store_enc *enc, int num_children,
return err;
}
-/* Set FLAGS in all children of STORE, and if successfull, add FLAGS to
+/* Set FLAGS in all children of STORE, and if successful, add FLAGS to
STORE's flags. */
error_t
store_set_child_flags (struct store *store, int flags)
@@ -127,7 +127,7 @@ store_set_child_flags (struct store *store, int flags)
return err;
}
-/* Clear FLAGS in all children of STORE, and if successfull, remove FLAGS from
+/* Clear FLAGS in all children of STORE, and if successful, remove FLAGS from
STORE's flags. */
error_t
store_clear_child_flags (struct store *store, int flags)
diff --git a/libstore/store.h b/libstore/store.h
index 5b48504c..fd250448 100644
--- a/libstore/store.h
+++ b/libstore/store.h
@@ -262,11 +262,11 @@ error_t store_set_flags (struct store *store, int flags);
/* Remove FLAGS from STORE's currently set flags. */
error_t store_clear_flags (struct store *store, int flags);
-/* Set FLAGS in all children of STORE, and if successfull, add FLAGS to
+/* Set FLAGS in all children of STORE, and if successful, add FLAGS to
STORE's flags. */
error_t store_set_child_flags (struct store *store, int flags);
-/* Clear FLAGS in all children of STORE, and if successfull, remove FLAGS from
+/* Clear FLAGS in all children of STORE, and if successful, remove FLAGS from
STORE's flags. */
error_t store_clear_child_flags (struct store *store, int flags);