From bb5a9f8e451bc206e78c9d4d03eb4cbdbef260b3 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Tue, 27 Jun 2017 10:44:19 +0300 Subject: [Minor] Massive spelling correction by a bot https://github.com/ka7/misspell_fixer --- contrib/lc-btrie/btrie.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/lc-btrie') diff --git a/contrib/lc-btrie/btrie.c b/contrib/lc-btrie/btrie.c index 51357a1d6..fe768fc56 100644 --- a/contrib/lc-btrie/btrie.c +++ b/contrib/lc-btrie/btrie.c @@ -168,7 +168,7 @@ * array of children for that path can be found by counting the number * of set bits to the left of that bit. * - * Similary, the internal bitmap has one bit for each binary node + * Similarly, the internal bitmap has one bit for each binary node * which is internal to the multibit node. To determine whether there * is data stored for an internal prefix, one checks the corresponding * bit in the internal bitmap. As for extending paths, the index into @@ -946,7 +946,7 @@ static void coalesce_lc_node(struct btrie *btrie, struct lc_node *node, btrie->n_lc_nodes--; } else { - /* can't merge, but can take some of childs bits */ + /* can't merge, but can take some of children bits */ unsigned cshift = lc_shift (end + spare_bits) - lc_shift (end); memcpy(node->prefix + shift, child->prefix, -- cgit v1.2.3