changeset 3349:169d84ff4064

fix pcre allocation on Win32, the bug had been introduced in r3326
author Igor Sysoev <igor@sysoev.ru>
date Tue, 17 Nov 2009 10:24:45 +0000
parents 637d622486e1
children 67da53a19e02
files src/core/ngx_regex.c
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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
 }