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) {
|
if (pid > 0) {
|
||||||
// nothing
|
// nothing
|
||||||
client->data_socket = -1;
|
close_tcp_connection(client);
|
||||||
memset(client->data_ip, 0, INET6_ADDRSTRLEN);
|
|
||||||
client->data_srv_socket = -1;
|
|
||||||
} else if (pid == 0) {
|
} else if (pid == 0) {
|
||||||
if (client->current_path == NULL) {
|
if (client->current_path == NULL) {
|
||||||
if (!open_tcp_connection(cfg, client)) {
|
if (!open_tcp_connection(cfg, client)) {
|
||||||
|
Reference in New Issue
Block a user