diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-11-17 10:24:45 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-11-17 10:24:45 +0000 |
| commit | 69061b73ef0e4fdb1063bff0383098449d313a52 (patch) | |
| tree | 1af244ea5eb3bf8e84fd9c8c38a64a879daaec2c | |
| parent | 25622c2f92b244b66b4b980556e35350f5713b6f (diff) | |
| download | nginx-69061b73ef0e4fdb1063bff0383098449d313a52.tar.gz nginx-69061b73ef0e4fdb1063bff0383098449d313a52.tar.bz2 | |
fix pcre allocation on Win32, the bug had been introduced in r3326
| -rw-r--r-- | src/core/ngx_regex.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/ngx_regex.c b/src/core/ngx_regex.c index 18e3c26c5..984a28aa9 100644 --- a/src/core/ngx_regex.c +++ b/src/core/ngx_regex.c @@ -35,11 +35,9 @@ ngx_regex_malloc_init(ngx_pool_t *pool) return; } -#else +#endif ngx_pcre_pool = pool; - -#endif } @@ -55,11 +53,9 @@ ngx_regex_malloc_done(void) return; } -#else +#endif ngx_pcre_pool = NULL; - -#endif } |
