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:
qiuyiuestc 2010-01-03 18:49:42 +00:00
parent 7b9c3e6bd0
commit 238b6b89ea
1 changed files with 5 additions and 0 deletions

View File

@ -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);