mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-15 07:02:15 +00:00
netutils/thttpd: Fix a malformed if condition detected by GCC 6.x.x
This commit is contained in:
parent
0bc7bce916
commit
15eb6dd518
1 changed files with 1 additions and 1 deletions
|
|
@ -3409,7 +3409,7 @@ int httpd_start_request(httpd_conn *hc, struct timeval *nowP)
|
|||
else
|
||||
{
|
||||
hc->file_fd = open(hc->expnfilename, O_RDONLY);
|
||||
if (!hc->file_fd < 0)
|
||||
if (hc->file_fd < 0)
|
||||
{
|
||||
INTERNALERROR(hc->expnfilename);
|
||||
httpd_send_err(hc, 500, err500title, "", err500form, hc->encodedurl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue