fix missed one
This commit is contained in:
parent
0e449b22dd
commit
d8f7f66b5e
@ -723,9 +723,7 @@ void handle_NLST(struct ftpserver *cfg, struct ftpclient *client) {
|
||||
|
||||
if (pid > 0) {
|
||||
// nothing
|
||||
client->data_socket = -1;
|
||||
memset(client->data_ip, 0, INET6_ADDRSTRLEN);
|
||||
client->data_srv_socket = -1;
|
||||
close_tcp_connection(client);
|
||||
} else if (pid == 0) {
|
||||
if (client->current_path == NULL) {
|
||||
if (!open_tcp_connection(cfg, client)) {
|
||||
|
Reference in New Issue
Block a user