diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-02 23:45:31 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-02 23:45:31 +0000 |
commit | 80d5b281209708972a1e484f10f9b1cf74868ea4 (patch) | |
tree | 055ca499f7321151291d83afc6a5585c0bdde1ae /apps/netutils/ftpc/ftpc_internal.h | |
parent | 944bf89644559cd2ae021122451ff5d0a740cb85 (diff) | |
download | px4-nuttx-80d5b281209708972a1e484f10f9b1cf74868ea4.tar.gz px4-nuttx-80d5b281209708972a1e484f10f9b1cf74868ea4.tar.bz2 px4-nuttx-80d5b281209708972a1e484f10f9b1cf74868ea4.zip |
More FTP client debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3662 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/netutils/ftpc/ftpc_internal.h')
-rw-r--r-- | apps/netutils/ftpc/ftpc_internal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/netutils/ftpc/ftpc_internal.h b/apps/netutils/ftpc/ftpc_internal.h index 4a7a3ca9b..5e177b36b 100644 --- a/apps/netutils/ftpc/ftpc_internal.h +++ b/apps/netutils/ftpc/ftpc_internal.h @@ -40,7 +40,7 @@ * Included Files ****************************************************************************/ -#include <nuttx/config.h> +#include "ftpc_config.h" #include <sys/types.h> #include <sys/socket.h> @@ -200,6 +200,8 @@ extern "C" { fgetc((s)->instream) #define ftpc_sockflush(s) \ fflush((s)->outstream) +#define ftpc_sockvprintf(s,f,ap) \ + vfprintf((s)->outstream,f,ap) /**************************************************************************** * Public Functions @@ -237,7 +239,7 @@ EXTERN void ftpc_sockcopy(FAR struct ftpc_socket_s *dest, /* Socket I/O helpers */ -EXTERN int ftpc_sockprintf(FAR struct ftpc_socket_s *sock, const char *str, ...); +EXTERN int ftpc_sockprintf(FAR struct ftpc_socket_s *sock, const char *fmt, ...); EXTERN void ftpc_timeout(int argc, uint32_t arg1, ...); /* Transfer helpers */ |