-make clear that close return value is ignored intentionally

This commit is contained in:
Christian Grothoff
2013-06-25 12:58:12 +00:00
parent e55a1f921e
commit 7c78413efa
+2 -1
View File
@@ -37,7 +37,8 @@ answer_to_connection (void *cls, struct MHD_Connection *connection,
(0 != fstat (fd, &sbuf)) )
{
/* error accessing file */
if (fd != -1) close (fd);
if (fd != -1)
(void) close (fd);
const char *errorstr =
"<html><body>An internal server error has occured!\
</body></html>";