aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/e-trie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-trie.c b/e-util/e-trie.c
index 21e7a37790..cdfc3dd0c6 100644
--- a/e-util/e-trie.c
+++ b/e-util/e-trie.c
@@ -298,7 +298,7 @@ e_trie_add (ETrie *trie, const char *pattern, int pattern_id)
*/
const char *
-e_trie_search (ETrie *trie, const char *buffer, size_t buflen, const char **pattern)
+e_trie_search (ETrie *trie, const char *buffer, size_t buflen, int *matched_id)
{
const unsigned char *inptr, *inend, *prev, *pat;
register size_t inlen = buflen;