diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-04-01 18:56:59 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-04-01 18:56:59 +0000 |
commit | 2954ea0a013c84fb61eed27e7a08b7662f5dcb70 (patch) | |
tree | dcb233fe15d7ab0d5f91d0ee33a2b65273a1d211 | |
parent | 1bb22a8bd090180b48202602a88cff9ae62c36fe (diff) | |
download | php-git-2954ea0a013c84fb61eed27e7a08b7662f5dcb70.tar.gz |
oops
-rw-r--r-- | ext/mbstring/php_mbregex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c index 46b471e7ca..8d1289a8f7 100644 --- a/ext/mbstring/php_mbregex.c +++ b/ext/mbstring/php_mbregex.c @@ -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)); |