[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r37232 - libmicrohttpd/src/microhttpd
From: |
gnunet |
Subject: |
[GNUnet-SVN] r37232 - libmicrohttpd/src/microhttpd |
Date: |
Thu, 2 Jun 2016 08:57:12 +0200 |
Author: grothoff
Date: 2016-06-02 08:57:12 +0200 (Thu, 02 Jun 2016)
New Revision: 37232
Modified:
libmicrohttpd/src/microhttpd/daemon.c
Log:
-check obscure error on close()
Modified: libmicrohttpd/src/microhttpd/daemon.c
===================================================================
--- libmicrohttpd/src/microhttpd/daemon.c 2016-06-02 06:55:55 UTC (rev
37231)
+++ libmicrohttpd/src/microhttpd/daemon.c 2016-06-02 06:57:12 UTC (rev
37232)
@@ -3848,8 +3848,10 @@
"Failed to make control pipe non-blocking: %s\n",
MHD_strerror_ (errno));
#endif
- MHD_pipe_close_ (daemon->wpipe[0]);
- MHD_pipe_close_ (daemon->wpipe[1]);
+ if (0 != MHD_pipe_close_ (daemon->wpipe[0]))
+ MHD_PANIC ("close failed\n");
+ if (0 != MHD_pipe_close_ (daemon->wpipe[1]))
+ MHD_PANIC ("close failed\n");
free (daemon);
return NULL;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r37232 - libmicrohttpd/src/microhttpd,
gnunet <=