提交 56916d1a 编写于 作者: qiuyiuestc's avatar qiuyiuestc

file should be closed after sending finished in ftp server

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@813 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 2c32bb90
......@@ -542,6 +542,7 @@ err1:
}
rt_sprintf(sbuf, "226 Finished.\r\n");
send(session->sockfd, sbuf, strlen(sbuf), 0);
close(fd);
closesocket(session->pasv_sockfd);
}
else if (str_begin_with(buf, "STOR")==0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册