1
0
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:
Steven Schubiger 2008-11-13 12:29:59 +01:00
parent 02c211d47c
commit a6de4721d1
6 changed files with 93 additions and 88 deletions

View File

@ -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>
* Test-auth-basic.px, Test-auth-no-challenge.px,

View File

@ -353,12 +353,12 @@ sub _RETR_command
unless (defined $filename && length $filename) {
print {$conn->{socket}} "550 File or directory not found.\r\n";
return;
return;
}
if ($filename eq "." || $filename eq "..") {
print {$conn->{socket}} "550 RETR command is not supported on directories.\r\n";
return;
return;
}
my $fullname = $conn->{rootdir} . $dir . $filename;
@ -516,12 +516,12 @@ sub _SIZE_command
unless (defined $filename && length $filename) {
print {$conn->{socket}} "550 File or directory not found.\r\n";
return;
return;
}
if ($filename eq "." || $filename eq "..") {
print {$conn->{socket}} "550 SIZE command is not supported on directories.\r\n";
return;
return;
}
my $fullname = $conn->{rootdir} . $dir . $filename;