diff options
Diffstat (limited to 'lib/textsearch.c')
-rw-r--r-- | lib/textsearch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/textsearch.c b/lib/textsearch.c index 98bcadc01185..88c98a2ec8d9 100644 --- a/lib/textsearch.c +++ b/lib/textsearch.c | |||
@@ -40,7 +40,7 @@ | |||
40 | * configuration according to the specified parameters. | 40 | * configuration according to the specified parameters. |
41 | * (3) User starts the search(es) by calling _find() or _next() to | 41 | * (3) User starts the search(es) by calling _find() or _next() to |
42 | * fetch subsequent occurrences. A state variable is provided | 42 | * fetch subsequent occurrences. A state variable is provided |
43 | * to the algorihtm to store persistent variables. | 43 | * to the algorithm to store persistent variables. |
44 | * (4) Core eventually resets the search offset and forwards the find() | 44 | * (4) Core eventually resets the search offset and forwards the find() |
45 | * request to the algorithm. | 45 | * request to the algorithm. |
46 | * (5) Algorithm calls get_next_block() provided by the user continously | 46 | * (5) Algorithm calls get_next_block() provided by the user continously |
@@ -218,7 +218,7 @@ static unsigned int get_linear_data(unsigned int consumed, const u8 **dst, | |||
218 | * Call textsearch_next() to retrieve subsequent matches. | 218 | * Call textsearch_next() to retrieve subsequent matches. |
219 | * | 219 | * |
220 | * Returns the position of first occurrence of the pattern or | 220 | * Returns the position of first occurrence of the pattern or |
221 | * UINT_MAX if no occurrence was found. | 221 | * %UINT_MAX if no occurrence was found. |
222 | */ | 222 | */ |
223 | unsigned int textsearch_find_continuous(struct ts_config *conf, | 223 | unsigned int textsearch_find_continuous(struct ts_config *conf, |
224 | struct ts_state *state, | 224 | struct ts_state *state, |