mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-20 09:28:49 +08:00
fix ftp file list problem.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@277 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -260,6 +260,11 @@ int do_list(char* directory, int sockfd)
|
||||
|
||||
send(sockfd, line_buffer, line_length, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
rt_kprintf("Get directory entry error\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
closedir(dirp);
|
||||
|
||||
Reference in New Issue
Block a user