diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-01 19:37:40 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-01 19:37:40 +0000 |
commit | 17b27f51ace2d8529e6bf5ac5c84d01c08d8dbf5 (patch) | |
tree | 37bcf9d31b33094d8a1d52bc59a1abb77b5fc55b /apps/netutils/ftpc/ftpc_listdir.c | |
parent | c505c3eb243de07b8a59d71b5dbe5683ee9466f4 (diff) | |
download | nuttx-17b27f51ace2d8529e6bf5ac5c84d01c08d8dbf5.tar.gz nuttx-17b27f51ace2d8529e6bf5ac5c84d01c08d8dbf5.tar.bz2 nuttx-17b27f51ace2d8529e6bf5ac5c84d01c08d8dbf5.zip |
Fix some basic FTP client compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3655 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/netutils/ftpc/ftpc_listdir.c')
-rw-r--r-- | apps/netutils/ftpc/ftpc_listdir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/netutils/ftpc/ftpc_listdir.c b/apps/netutils/ftpc/ftpc_listdir.c index 2b7706fc1..6ec70a0d9 100644 --- a/apps/netutils/ftpc/ftpc_listdir.c +++ b/apps/netutils/ftpc/ftpc_listdir.c @@ -81,7 +81,7 @@ typedef void (*callback_t)(FAR const char *name, FAR void *arg); ****************************************************************************/ static FAR char *ftpc_abspath(FAR struct ftpc_session_s *session, - FAR const char *relpath); + FAR const char *relpath) { FAR char *ptr = NULL; int ret = OK; @@ -101,7 +101,7 @@ static FAR char *ftpc_abspath(FAR struct ftpc_session_s *session, if (relpath[1] == '\0') { - return strdup(session->home); + return strdup(session->homedir); } /* No... then a '/' better follow the tilde */ @@ -155,7 +155,7 @@ static FAR char *ftpc_abspath(FAR struct ftpc_session_s *session, static void ftpc_dircount(FAR const char *name, FAR void *arg) { - unsigned int *dircount = (unsigned int *)arg; + FAR unsigned int *dircount = (FAR unsigned int *)arg; (*dircount)++; } |