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


The following commit(s) were added to refs/heads/master by this push:
     new 681da55  netutils/thttpd: fix compile break
681da55 is described below

commit 681da55d4a1f3a259a58116d195972cdc1bb5795
Author: Jiuzhu Dong <[email protected]>
AuthorDate: Wed Mar 3 15:14:34 2021 +0800

    netutils/thttpd: fix compile break
    
    change NSOCKET_DESCRIPTORS to NFILE_DESCRIPTORS
    
    Signed-off-by: Jiuzhu Dong <[email protected]>
---
 netutils/thttpd/thttpd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/netutils/thttpd/thttpd.c b/netutils/thttpd/thttpd.c
index 73c786e..0dd3d20 100644
--- a/netutils/thttpd/thttpd.c
+++ b/netutils/thttpd/thttpd.c
@@ -696,7 +696,7 @@ int thttpd_main(int argc, char **argv)
    * socket descriptors
    */
 
-  fw = fdwatch_initialize(CONFIG_NSOCKET_DESCRIPTORS);
+  fw = fdwatch_initialize(CONFIG_NFILE_DESCRIPTORS);
   if (!fw)
     {
       nerr("ERROR: fdwatch initialization failure\n");

Reply via email to