mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-29 04:09:31 +03:00
-make clear that close return value is ignored intentionally
This commit is contained in:
@@ -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>";
|
||||
|
||||
Reference in New Issue
Block a user