shithub: riscv

Download patch

ref: e9c8ef5e16b67837260b667e2f9fd2e1603f4f90
parent: 8858fdf15f576a3d27afb2e552edce2a85bbcbe7
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Tue Apr 23 15:37:56 EDT 2013

ftpd: "opts utf8 on"

--- a/sys/src/cmd/ip/ftpd.c
+++ b/sys/src/cmd/ip/ftpd.c
@@ -491,7 +491,7 @@
 	}
 	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;
 	}
--