From 15eb6dd518a020e1ccedc98e8fa80ba69b7dc6b7 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 12 Aug 2017 16:55:51 -0600 Subject: [PATCH] netutils/thttpd: Fix a malformed if condition detected by GCC 6.x.x --- netutils/thttpd/libhttpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netutils/thttpd/libhttpd.c b/netutils/thttpd/libhttpd.c index f1df7a090..385bea884 100644 --- a/netutils/thttpd/libhttpd.c +++ b/netutils/thttpd/libhttpd.c @@ -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);