|
|
@@ -1482,7 +1482,7 @@ ngx_http_upload_progress_json_output(ngx_conf_t * cf, ngx_command_t * cmd, void
|
|
1482
|
1482
|
t = (ngx_http_uploadprogress_template_t*)upcf->templates.elts;
|
|
1483
|
1483
|
|
|
1484
|
1484
|
for(i = 0;i < upcf->templates.nelts;i++) {
|
|
1485
|
|
- rc = ngx_http_upload_progress_set_template(cf, t, ngx_http_uploadprogress_json_defaults + i);
|
|
|
1485
|
+ rc = ngx_http_upload_progress_set_template(cf, t + i, ngx_http_uploadprogress_json_defaults + i);
|
|
1486
|
1486
|
|
|
1487
|
1487
|
if(rc != NGX_CONF_OK) {
|
|
1488
|
1488
|
return rc;
|