mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Purge orphaned whitespace in test libraries.
This commit is contained in:
parent
02c211d47c
commit
a6de4721d1
@ -1,3 +1,8 @@
|
|||||||
|
2008-11-13 Steven Schubiger <stsc@members.fsf.org>
|
||||||
|
|
||||||
|
* FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
|
||||||
|
WgetTest.pm.in: Clean up leftover whitespace.
|
||||||
|
|
||||||
2008-11-12 Steven Schubiger <stsc@members.fsf.org>
|
2008-11-12 Steven Schubiger <stsc@members.fsf.org>
|
||||||
|
|
||||||
* Test-auth-basic.px, Test-auth-no-challenge.px,
|
* Test-auth-basic.px, Test-auth-no-challenge.px,
|
||||||
|
@ -353,12 +353,12 @@ sub _RETR_command
|
|||||||
|
|
||||||
unless (defined $filename && length $filename) {
|
unless (defined $filename && length $filename) {
|
||||||
print {$conn->{socket}} "550 File or directory not found.\r\n";
|
print {$conn->{socket}} "550 File or directory not found.\r\n";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($filename eq "." || $filename eq "..") {
|
if ($filename eq "." || $filename eq "..") {
|
||||||
print {$conn->{socket}} "550 RETR command is not supported on directories.\r\n";
|
print {$conn->{socket}} "550 RETR command is not supported on directories.\r\n";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $fullname = $conn->{rootdir} . $dir . $filename;
|
my $fullname = $conn->{rootdir} . $dir . $filename;
|
||||||
@ -516,12 +516,12 @@ sub _SIZE_command
|
|||||||
|
|
||||||
unless (defined $filename && length $filename) {
|
unless (defined $filename && length $filename) {
|
||||||
print {$conn->{socket}} "550 File or directory not found.\r\n";
|
print {$conn->{socket}} "550 File or directory not found.\r\n";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($filename eq "." || $filename eq "..") {
|
if ($filename eq "." || $filename eq "..") {
|
||||||
print {$conn->{socket}} "550 SIZE command is not supported on directories.\r\n";
|
print {$conn->{socket}} "550 SIZE command is not supported on directories.\r\n";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $fullname = $conn->{rootdir} . $dir . $filename;
|
my $fullname = $conn->{rootdir} . $dir . $filename;
|
||||||
|
Loading…
Reference in New Issue
Block a user