]> granicus.if.org Git - curl/commitdiff
ftpserver.pl: Reordered the POP3 handlers to be alphabetical
authorSteve Holme <steve_holme@hotmail.com>
Sat, 7 Sep 2013 22:20:08 +0000 (23:20 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 8 Sep 2013 01:48:34 +0000 (02:48 +0100)
In preparation for additional POP3 tests, re-ordered the command
function defintions to be sorted alphabetically.

tests/ftpserver.pl

index 990414b1a7879263ed5fed5c9de24e7987a4b03e..ded0b044c0ded03c7695cd7237e8cb7bdb95752f 100755 (executable)
@@ -556,11 +556,11 @@ sub protocolsetup {
     }
     elsif($proto eq 'pop3') {
         %commandfunc = (
-            'CAPA' => \&CAPA_pop3,
             'AUTH' => \&AUTH_pop3,
-            'RETR' => \&RETR_pop3,
-            'LIST' => \&LIST_pop3,
+            'CAPA' => \&CAPA_pop3,
             'DELE' => \&DELE_pop3,
+            'LIST' => \&LIST_pop3,
+            'RETR' => \&RETR_pop3,
         );
         %displaytext = (
             'USER' => '+OK We are happy you popped in!',