nuttx-apps/netutils/webserver
Xiang Xiao 18bb3331f3 netutils/webserver: Fix the compiler warning
httpd_dirlist.c: In function 'httpd_dirlist':
Error: httpd_dirlist.c:199:40: error: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Werror=format-truncation=]
  199 |       snprintf(path, CONFIG_NAME_MAX, "%s/%s",
      |                                        ^~
httpd_dirlist.c:199:7: note: 'snprintf' output between 2 and 385 bytes into a destination of size 128
  199 |       snprintf(path, CONFIG_NAME_MAX, "%s/%s",
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  200 |                file->path, dent->d_name);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-07 00:58:19 +08:00
..
httpd_cgi.c
httpd_cgi.h netutils: fix relative path CI error 2021-06-16 09:03:06 -05:00
httpd_dirlist.c netutils/webserver: Fix the compiler warning 2022-03-07 00:58:19 +08:00
httpd_fs.c netutils: fix relative path CI error 2021-06-16 09:03:06 -05:00
httpd_mmap.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
httpd_sendfile.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
httpd.c netutils/webserver: Fix the compiler error when -no-builtin is removed 2022-03-03 12:49:35 +02:00
httpd.h netutils: fix relative path CI error 2021-06-16 09:03:06 -05:00
Kconfig
Make.defs
Makefile