mirror of
https://github.com/mirror/wget.git
synced 2025-01-27 12:50:13 +08:00
Fix warning to not print binary IP address
* tests/Test-https-badcerts.px: Likewise * tests/Test-https-clientcert.px: Likewise * tests/Test-https-crl.px: Likewise * tests/Test-https-pfs.px: Likewise * tests/Test-https-selfsigned.px: Likewise * tests/Test-https-tlsv1.px: Likewise * tests/Test-https-tlsv1x.px: Likewise * tests/Test-https-weboftrust.px: Likewise
This commit is contained in:
parent
9887b870d1
commit
98ec26cc6d
@ -48,7 +48,7 @@ unless ($addr)
|
||||
}
|
||||
unless (inet_ntoa($addr) =~ "127.0.0.1")
|
||||
{
|
||||
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
|
||||
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
|
||||
exit 77;
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ unless ($addr)
|
||||
}
|
||||
unless (inet_ntoa($addr) =~ "127.0.0.1")
|
||||
{
|
||||
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
|
||||
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
|
||||
exit 77;
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ unless ($addr)
|
||||
}
|
||||
unless (inet_ntoa($addr) =~ "127.0.0.1")
|
||||
{
|
||||
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
|
||||
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
|
||||
exit 77;
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ unless ($addr)
|
||||
}
|
||||
unless (inet_ntoa($addr) =~ "127.0.0.1")
|
||||
{
|
||||
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
|
||||
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
|
||||
exit 77;
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ unless ($addr)
|
||||
}
|
||||
unless (inet_ntoa($addr) =~ "127.0.0.1")
|
||||
{
|
||||
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
|
||||
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
|
||||
exit 77;
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ unless ($addr)
|
||||
}
|
||||
unless (inet_ntoa($addr) =~ "127.0.0.1")
|
||||
{
|
||||
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
|
||||
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
|
||||
exit 77;
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,7 @@ unless ($addr)
|
||||
}
|
||||
unless (inet_ntoa($addr) =~ "127.0.0.1")
|
||||
{
|
||||
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
|
||||
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
|
||||
exit 77;
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ unless ($addr)
|
||||
}
|
||||
unless (inet_ntoa($addr) =~ "127.0.0.1")
|
||||
{
|
||||
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
|
||||
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
|
||||
exit 77;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user