@@ -5,8 +5,8 @@ use nginx_sys::{
55 ngx_http_phases_NGX_HTTP_POST_ACCESS_PHASE, ngx_http_phases_NGX_HTTP_POST_READ_PHASE,
66 ngx_http_phases_NGX_HTTP_POST_REWRITE_PHASE, ngx_http_phases_NGX_HTTP_PREACCESS_PHASE,
77 ngx_http_phases_NGX_HTTP_PRECONTENT_PHASE, ngx_http_phases_NGX_HTTP_REWRITE_PHASE,
8- ngx_http_phases_NGX_HTTP_SERVER_REWRITE_PHASE, ngx_http_request_t, ngx_int_t, ngx_uint_t,
9- NGX_RS_HTTP_LOC_CONF_OFFSET , NGX_RS_HTTP_MAIN_CONF_OFFSET , NGX_RS_HTTP_SRV_CONF_OFFSET ,
8+ ngx_http_phases_NGX_HTTP_SERVER_REWRITE_PHASE, ngx_http_request_t, ngx_int_t, ngx_uint_t, NGX_HTTP_LOC_CONF_OFFSET ,
9+ NGX_HTTP_MAIN_CONF_OFFSET , NGX_HTTP_SRV_CONF_OFFSET ,
1010} ;
1111
1212use crate :: core:: { Pool , Status , NGX_CONF_ERROR } ;
@@ -254,7 +254,7 @@ impl<C> CommandCallRule for HttpMainConf<C> {
254254impl < M : HttpModule > CommandCallRuleBy < HttpModuleSkel < M > >
255255 for HttpMainConf < <M :: MainConfSetting as InitConfSetting >:: Conf >
256256{
257- const OFFSET : CommandOffset = unsafe { CommandOffset :: from_ngx_uint ( NGX_RS_HTTP_MAIN_CONF_OFFSET ) } ;
257+ const OFFSET : CommandOffset = unsafe { CommandOffset :: from_ngx_uint ( NGX_HTTP_MAIN_CONF_OFFSET ) } ;
258258}
259259
260260/// `CommandCallRule` implementer for `Command` configuring Http Main Conf
@@ -266,7 +266,7 @@ impl<C> CommandCallRule for HttpSrvConf<C> {
266266impl < M : HttpModule > CommandCallRuleBy < HttpModuleSkel < M > >
267267 for HttpSrvConf < <M :: SrvConfSetting as MergeConfSetting >:: Conf >
268268{
269- const OFFSET : CommandOffset = unsafe { CommandOffset :: from_ngx_uint ( NGX_RS_HTTP_SRV_CONF_OFFSET ) } ;
269+ const OFFSET : CommandOffset = unsafe { CommandOffset :: from_ngx_uint ( NGX_HTTP_SRV_CONF_OFFSET ) } ;
270270}
271271
272272/// `CommandCallRule` implementer for `Command` configuring Http Main Conf
@@ -277,7 +277,7 @@ impl<C> CommandCallRule for HttpLocConf<C> {
277277impl < M : HttpModule > CommandCallRuleBy < HttpModuleSkel < M > >
278278 for HttpLocConf < <M :: LocConfSetting as MergeConfSetting >:: Conf >
279279{
280- const OFFSET : CommandOffset = unsafe { CommandOffset :: from_ngx_uint ( NGX_RS_HTTP_LOC_CONF_OFFSET ) } ;
280+ const OFFSET : CommandOffset = unsafe { CommandOffset :: from_ngx_uint ( NGX_HTTP_LOC_CONF_OFFSET ) } ;
281281}
282282
283283/// Http configuration phase.
0 commit comments