mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
oops
This commit is contained in:
parent
1bb22a8bd0
commit
2954ea0a01
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ php_mbregex_compile_pattern(mb_regex_t *pre, const char *pattern, int patlen, in
|
|||
const char *err_str = NULL;
|
||||
mb_regex_t *rc = NULL;
|
||||
|
||||
if(1 || zend_hash_find(&MBSTRG(ht_rc), (char *)pattern, patlen+1, (void **) &rc) == FAILURE ||
|
||||
if(zend_hash_find(&MBSTRG(ht_rc), (char *)pattern, patlen+1, (void **) &rc) == FAILURE ||
|
||||
rc->options != options || rc->mbctype != mbctype) {
|
||||
memset(pre, 0, sizeof(*pre));
|
||||
pre->fastmap = (char*)emalloc((1 << MBRE_BYTEWIDTH)*sizeof(char));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue