diff options
Diffstat (limited to 'apps/netutils/webserver/httpd_mmap.c')
-rw-r--r-- | apps/netutils/webserver/httpd_mmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/netutils/webserver/httpd_mmap.c b/apps/netutils/webserver/httpd_mmap.c index 042c9932f..c5033d866 100644 --- a/apps/netutils/webserver/httpd_mmap.c +++ b/apps/netutils/webserver/httpd_mmap.c @@ -89,13 +89,13 @@ int httpd_mmap_open(const char *name, struct httpd_fs_file *file) return ERROR; } - if (S_ISDIR(st.st_mode)) + if (S_ISDIR(st.st_mode)) { errno = EISDIR; return ERROR; } - if (!S_ISREG(st.st_mode)) + if (!S_ISREG(st.st_mode)) { errno = ENOENT; return ERROR; |