X-Git-Url: http://git.madism.org/?p=apps%2Fpfixtools.git;a=blobdiff_plain;f=common%2Ftrie.c;h=f4240b4899438e8f6b0d610a707a0b84d9987dff;hp=6bf4cf9c6768ca03cf5f32d638122e2742fe5e02;hb=41b82fa1b8fbad44a1cc7671bd614b016b2c38b8;hpb=e8a35c4b691d1b6eb12e934dffd20d75201fa5c8 diff --git a/common/trie.c b/common/trie.c index 6bf4cf9..f4240b4 100644 --- a/common/trie.c +++ b/common/trie.c @@ -138,12 +138,12 @@ static inline const trie_entry_t* trie_entry_child(const trie_t *trie, const char c2 = str(trie, child)[0]; if (c2 == c) { - return child; + return child; } if (c < c2) { - end = mid; + end = mid; } else { - start = mid + 1; + start = mid + 1; } } return NULL;