netutils/thttpd: Fix a malformed if condition detected by GCC 6.x.x
This commit is contained in:
parent
0bc7bce916
commit
15eb6dd518
@ -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…
Reference in New Issue
Block a user