Quellcode durchsuchen

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 vor 1 Jahr
Ursprung
Commit
a8cb75177c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      ngx_http_uploadprogress_module.c

+ 1
- 1
ngx_http_uploadprogress_module.c Datei anzeigen

@@ -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
 

Laden…
Abbrechen
Speichern