From 17b27f51ace2d8529e6bf5ac5c84d01c08d8dbf5 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 1 Jun 2011 19:37:40 +0000 Subject: 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 --- apps/netutils/ftpc/ftpc_listdir.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/netutils/ftpc/ftpc_listdir.c') 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)++; } -- cgit v1.2.3