Skip to content

Commit 7913feb

Browse files
BenBEdevgs
andcommitted
Fix error message for invalid timeout values
Co-authored-by: devgs <[email protected]> Co-authored-by: Benny Baumann <[email protected]>
1 parent f1ec795 commit 7913feb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ngx_http_uploadprogress_module.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ ngx_http_track_uploads(ngx_conf_t * cf, ngx_command_t * cmd, void *conf)
14561456
lzcf->timeout = ngx_parse_time(&value[2], 1);
14571457
if (lzcf->timeout == NGX_ERROR) {
14581458
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
1459-
"track_uploads \"%V\" timeout value invalid", &value[1]);
1459+
"track_uploads \"%V\" timeout value invalid", &value[2]);
14601460
return NGX_CONF_ERROR;
14611461
}
14621462

0 commit comments

Comments
 (0)