renamed hawk_find_bchar() to hawk_find_bchar_in_bchars().

renamed similar function names in the same way.
updated sys::openlog() to accept a local log socket path with remote:// (e.g. remote:///dev/log/xxx)
This commit is contained in:
2020-12-16 15:13:29 +00:00
parent 607b66d4c9
commit 829ad9bdd0
6 changed files with 71 additions and 45 deletions

View File

@ -213,7 +213,7 @@ tre_tnfa_run_parallel(hawk_gem_t* gem, const tre_tnfa_t *tnfa, const void *strin
int first = tnfa->first_char;
if (len >= 0)
str_byte = hawk_find_bchar(orig_str, (size_t)len, first);
str_byte = hawk_find_bchar_in_bchars(orig_str, (size_t)len, first);
else
str_byte = hawk_find_bchar_in_bcstr(orig_str, first);
if (str_byte == NULL)