Sfoglia il codice sorgente

ftpserver.pl: Removed some unused variables

Steve Holme 10 anni fa
parent
commit
54ef196db8
1 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  1. 0 5
      tests/ftpserver.pl

+ 0 - 5
tests/ftpserver.pl

@@ -1084,8 +1084,6 @@ sub fix_imap_params {
 }
 
 sub CAPABILITY_imap {
-    my ($testno) = @_;
-
     if((!@capabilities) && (!@auth_mechs)) {
         sendcontrol "$cmdid BAD Command\r\n";
     }
@@ -1621,7 +1619,6 @@ sub LOGOUT_imap {
 my $username;
 
 sub CAPA_pop3 {
-    my ($testno) = @_;
     my @list = ();
     my $mechs;
 
@@ -1696,8 +1693,6 @@ sub APOP_pop3 {
 }
 
 sub AUTH_pop3 {
-    my ($testno) = @_;
-
     if(!@auth_mechs) {
         sendcontrol "-ERR Unrecognized command\r\n";
     }