You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/05/15 00:18:09 UTC

[incubator-nuttx-apps] 01/02: examples: ftpc: Fix a compile warning for IPv4 only configuration

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit 9a90b6535528c3dabbe8d67bb9d3ad21ff8f3648
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Fri May 15 08:21:08 2020 +0900

    examples: ftpc: Fix a compile warning for IPv4 only configuration
    
    Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
 examples/ftpc/ftpc_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/ftpc/ftpc_main.c b/examples/ftpc/ftpc_main.c
index dc6a31c..476c600 100644
--- a/examples/ftpc/ftpc_main.c
+++ b/examples/ftpc/ftpc_main.c
@@ -380,7 +380,7 @@ int main(int argc, FAR char *argv[])
 
   if (argc != 2)
     {
-#if ADDR_FAMILY == CONFIG_NET_IPv6
+#if ADDR_FAMILY == AF_INET6
       printf("Usage:\n");
       printf("   %s xx:xx:xx:xx:xx:xx:xx:xx [pp]\n", argv[0]);
       printf("Where\n");