mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
Use var again instead of hard-coded filename.
This commit is contained in:
parent
f1c6cd42f4
commit
e02c90dc19
@ -81,7 +81,7 @@ unless ($opt_n and -e $txt) {
|
||||
print "Downloading '$txt' ...\n" if (!$opt_q);
|
||||
|
||||
my $ua = new LWP::UserAgent(agent => "$0/$version");
|
||||
$resp = $ua->mirror($url, 'certdata.txt');
|
||||
$resp = $ua->mirror($url, $txt);
|
||||
}
|
||||
|
||||
if ($resp && $resp->code eq '304') {
|
||||
|
Loading…
Reference in New Issue
Block a user