netutils/thttpd: fix compile break

change NSOCKET_DESCRIPTORS to NFILE_DESCRIPTORS

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
Jiuzhu Dong 2021-03-03 15:14:34 +08:00 committed by Xiang Xiao
parent 3708b6e478
commit 681da55d4a

View File

@ -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");