nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gn...@apache.org
Subject [incubator-nuttx-apps] 01/02: examples: ftpc: Fix a compile warning for IPv4 only configuration
Date Fri, 15 May 2020 00:18:09 GMT
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 <masayuki.ishikawa@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 <Masayuki.Ishikawa@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");


Mime
View raw message