소스 검색

Change EPSV reply code to 229

z3APA3A 8 년 전
부모
커밋
556681a829
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/ftppr.c

+ 1 - 1
src/ftppr.c

@@ -142,7 +142,7 @@ void * ftpprchild(struct clientparam* param) {
 					);
 			}
 			else {
-				sprintf((char *)buf, "227 OK (|||%u|)\r\n", 
+				sprintf((char *)buf, "229 OK (|||%u|)\r\n", 
 					 (unsigned)ntohs(*SAPORT(&param->sincl))
 					);
 			}