summaryrefslogtreecommitdiffstats
path: root/bin/jeprof.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/jeprof.in')
-rw-r--r--bin/jeprof.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/jeprof.in b/bin/jeprof.in
index 444041e..a2402f4 100644
--- a/bin/jeprof.in
+++ b/bin/jeprof.in
@@ -3339,7 +3339,7 @@ sub ResolveRedirectionForCurl {
# Add a timeout flat to URL_FETCHER. Returns a new list.
sub AddFetchTimeout {
my $timeout = shift;
- my @fetcher = shift;
+ my @fetcher = @_;
if (defined($timeout)) {
if (join(" ", @fetcher) =~ m/\bcurl -s/) {
push(@fetcher, "--max-time", sprintf("%d", $timeout));