gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r27582 - libmicrohttpd/doc/examples


From: gnunet
Subject: [GNUnet-SVN] r27582 - libmicrohttpd/doc/examples
Date: Tue, 25 Jun 2013 14:58:12 +0200

Author: grothoff
Date: 2013-06-25 14:58:12 +0200 (Tue, 25 Jun 2013)
New Revision: 27582

Modified:
   libmicrohttpd/doc/examples/responseheaders.c
Log:
-make clear that close return value is ignored intentionally

Modified: libmicrohttpd/doc/examples/responseheaders.c
===================================================================
--- libmicrohttpd/doc/examples/responseheaders.c        2013-06-25 12:47:41 UTC 
(rev 27581)
+++ libmicrohttpd/doc/examples/responseheaders.c        2013-06-25 12:58:12 UTC 
(rev 27582)
@@ -37,7 +37,8 @@
        (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>";




reply via email to

[Prev in Thread] Current Thread [Next in Thread]