diff src/core/ngx_conf_file.h @ 545:0148586012ab release-0.2.1

nginx-0.2.1-RELEASE import *) Bugfix: if all backend using in load-balancing failed after one error, then nginx may got caught in an endless loop; the bug had appeared in 0.2.0.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 23 Sep 2005 14:43:49 +0000
parents b09ee85d0ac8
children 458b6c3fea65
line wrap: on
line diff
--- a/src/core/ngx_conf_file.h
+++ b/src/core/ngx_conf_file.h
@@ -97,19 +97,20 @@ struct ngx_open_file_s {
 };
 
 
-#define NGX_MODULE_V1          0, 0, 1, 0, 0, 0, 0
+#define NGX_MODULE_V1          0, 0, 0, 0, 0, 0, 1
 #define NGX_MODULE_V1_PADDING  0, 0, 0, 0, 0, 0, 0, 0
 
 struct ngx_module_s {
     ngx_uint_t            ctx_index;
     ngx_uint_t            index;
-    ngx_uint_t            version;
 
     ngx_uint_t            spare0;
     ngx_uint_t            spare1;
     ngx_uint_t            spare2;
     ngx_uint_t            spare3;
 
+    ngx_uint_t            version;
+
     void                 *ctx;
     ngx_command_t        *commands;
     ngx_uint_t            type;