]> git.kaiwu.me - nginx.git/commitdiff
fix pcre allocation on Win32, the bug had been introduced in r3326
authorIgor Sysoev <igor@sysoev.ru>
Tue, 17 Nov 2009 10:24:45 +0000 (10:24 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 17 Nov 2009 10:24:45 +0000 (10:24 +0000)
src/core/ngx_regex.c

index 18e3c26c58c8c9a7406a187556ca674cd4488764..984a28aa98334926ba5d490b6f28ee1dd32cee1a 100644 (file)
@@ -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
 }