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:
parent
7b9c3e6bd0
commit
238b6b89ea
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue