ftpd: "opts utf8 on"

This commit is contained in:
cinap_lenrek 2013-04-23 19:37:56 +02:00
parent 8858fdf15f
commit e9c8ef5e16

View file

@ -491,7 +491,7 @@ optscmd(char *arg)
}
if(p = strchr(arg, ' '))
*p = 0;
if(cistrcmp(arg, "UTF-8") == 0){
if(cistrcmp(arg, "UTF-8") == 0 || cistrcmp(arg, "UTF8") == 0){
reply("200 Command okay");
return 0;
}