Skip to content

Commit a3be417

Browse files
author
Chrono Law
committed
fix merge
1 parent 32bbb8d commit a3be417

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/subrequest/NdgSubrequestConf.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class NdgSubrequestConf final
2828
auto prev = reinterpret_cast<this_type*>(parent);
2929
auto conf = reinterpret_cast<this_type*>(child);
3030

31-
NgxValue::merge(conf->loc, prev->loc, ngx_string("/echo"));
32-
NgxValue::merge(conf->args, prev->args, ngx_null_string);
31+
NgxValue::merge(conf->loc, prev->loc, ngx_str_t ngx_string("/echo"));
32+
NgxValue::merge(conf->args, prev->args, ngx_str_t ngx_null_string);
3333

3434
return NGX_CONF_OK;
3535
}

0 commit comments

Comments
 (0)