Sfoglia il codice sorgente

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 1 anno fa
parent
commit
a8cb75177c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      ngx_http_uploadprogress_module.c

+ 1
- 1
ngx_http_uploadprogress_module.c Vedi File

1455
     lzcf->timeout = ngx_parse_time(&value[2], 1);
1455
     lzcf->timeout = ngx_parse_time(&value[2], 1);
1456
     if (lzcf->timeout == NGX_ERROR) {
1456
     if (lzcf->timeout == NGX_ERROR) {
1457
         ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
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
         return NGX_CONF_ERROR;
1459
         return NGX_CONF_ERROR;
1460
     }
1460
     }
1461
 
1461
 

Loading…
Annulla
Salva