diff options
| author | Dave Watson <davejwatson@fb.com> | 2016-01-12 14:47:00 -0800 |
|---|---|---|
| committer | Dave Watson <davejwatson@fb.com> | 2016-01-12 15:13:14 -0800 |
| commit | fdbb950495b1f3e000a816f921ed1d97ca4953cb (patch) | |
| tree | c2522229f56598539cb3bbbfac4964a0b0fe5e39 /bin | |
| parent | 9cb481a73f6d2b518f695a669c1f850e477fdd2c (diff) | |
| download | platform_external_jemalloc_new-fdbb950495b1f3e000a816f921ed1d97ca4953cb.tar.gz platform_external_jemalloc_new-fdbb950495b1f3e000a816f921ed1d97ca4953cb.tar.bz2 platform_external_jemalloc_new-fdbb950495b1f3e000a816f921ed1d97ca4953cb.zip | |
Don't discard curl options if timeout is not defined.
Merge of https://github.com/gperftools/gperftools/commit/5078abdb331e63d7a216994f186eb736861f8df7
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/jeprof.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/jeprof.in b/bin/jeprof.in index 444041ec..a2402f40 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)); |
