aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-11-20 16:58:41 +0000
committerYang Tse <yangsita@gmail.com>2006-11-20 16:58:41 +0000
commit268fe09322258ae4af4581063111edf4a1597881 (patch)
tree1992de3093c6c6c84c73b03d094da8ca1dcac39b /tests
parent7a557e984a9ea73f5783a05ef6375cd8bedf1bbf (diff)
Revert ftpserver.pl back to revision 1.74 Adding change done in 1.76
This is done to back out changes done in revisions 1.77 and 1.75
Diffstat (limited to 'tests')
-rw-r--r--tests/ftpserver.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index 566453a3f..b22ebdfc5 100644
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -114,7 +114,7 @@ do {
sub catch_zap {
my $signame = shift;
print STDERR "ftpserver.pl received SIG$signame, exiting\n";
- ftpkillslave($ftpdnum, $ext, 1);
+ ftpkillslaves(1);
die "Somebody sent me a SIG$signame";
}
$SIG{INT} = \&catch_zap;
@@ -523,7 +523,7 @@ sub PASV_command {
my $pasvport;
my $pidf=".sockdata$ftpdnum$ext.pid";
- my $prev = checkalivepidfile($pidf);
+ my $prev = checkserver($pidf);
if($prev > 0) {
print "kill existing server: $prev\n" if($verbose);
kill(9, $prev);