mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-04 04:38:15 +00:00
Merged in masayuki2009/nuttx.apps/fix_httpd_dirlist (pull request #184)
neutils/webserver: Fix file corruption in httpd_dirlist.c Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
parent
bf066f11e7
commit
89d820e7d4
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ bool httpd_is_file(FAR const char *filename)
|
|||
snprintf(path, CONFIG_NAME_MAX, "%s/%s",
|
||||
CONFIG_NETUTILS_HTTPD_PATH, filename);
|
||||
|
||||
fd = open(path, "O_RDONLY");
|
||||
fd = open(path, O_RDONLY);
|
||||
|
||||
if (-1 != fd)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue