A little more FTP daemon cleanup

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4374 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-02-05 22:46:56 +00:00
parent 0b3d4e92e2
commit 3d264a6502
2 changed files with 126 additions and 110 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ int MAIN_NAME(int s_argc, char **s_argv)
#ifdef CONFIG_NSH_BUILTIN_APPS
int ftpd_stop(int s_argc, char **s_argv)
{
if (!g_ftpdglob.initialized || g_ftpdglob.running)
if (!g_ftpdglob.initialized || !g_ftpdglob.running)
{
printf("The FTP daemon not running\n");
return EXIT_FAILURE;
+125 -109
View File
File diff suppressed because it is too large Load Diff