Explorar el Código

Fix error message for invalid timeout values

Co-authored-by: devgs <devgs@ukr.net>
Co-authored-by: Benny Baumann <BenBE@geshi.org>
pull/62/head
Benny Baumann hace 1 año
padre
commit
a8cb75177c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      ngx_http_uploadprogress_module.c

+ 1
- 1
ngx_http_uploadprogress_module.c Ver fichero

@@ -1455,7 +1455,7 @@ ngx_http_track_uploads(ngx_conf_t * cf, ngx_command_t * cmd, void *conf)
1455 1455
     lzcf->timeout = ngx_parse_time(&value[2], 1);
1456 1456
     if (lzcf->timeout == NGX_ERROR) {
1457 1457
         ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
1458
-            "track_uploads \"%V\" timeout value invalid", &value[1]);
1458
+            "track_uploads \"%V\" timeout value invalid", &value[2]);
1459 1459
         return NGX_CONF_ERROR;
1460 1460
     }
1461 1461
 

Loading…
Cancelar
Guardar