You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/05/27 08:41:25 UTC

[incubator-nuttx-apps] 01/02: netlib: #if 0 out unimplemented fields in url_s

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

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

commit 4e32615ab77e8fffd639f0e7f5867aa6d95dbb26
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed May 27 14:10:04 2020 +0900

    netlib: #if 0 out unimplemented fields in url_s
    
    - Avoid giving a wrong impression to users
    - Save a little memory
---
 include/netutils/netlib.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/netutils/netlib.h b/include/netutils/netlib.h
index 360107f..bbdf6d2 100644
--- a/include/netutils/netlib.h
+++ b/include/netutils/netlib.h
@@ -207,19 +207,23 @@ struct url_s
 {
   FAR char *scheme;
   int       schemelen;
+#if 0 /* not yet */
   FAR char *user;
   int       userlen;
   FAR char *password;
   int       passwordlen;
+#endif
   FAR char *host;
   int       hostlen;
   int       port;
   FAR char *path;
   int       pathlen;
+#if 0 /* not yet */
   FAR char *parameters;
   int       parameterslen;
   FAR char *bookmark;
   int       bookmarklen;
+#endif
 };
 #endif