[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 03/03: Warn about using debug builds.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 03/03: Warn about using debug builds. |
Date: |
Mon, 12 Jun 2017 23:03:54 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit f28b92fb812f74a835a785d3eb0397c6e0176029
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Mon Jun 12 23:56:06 2017 +0300
Warn about using debug builds.
---
src/microhttpd/daemon.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index f2d4f73b..57e7ea2e 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -5280,6 +5280,11 @@ MHD_start_daemon_va (unsigned int flags,
free (daemon);
return NULL;
}
+#ifndef NDEBUG
+#ifdef HAVE_MESSAGES
+ MHD_DLOG (daemon, _("Using debug build of libmicrohttpd.\n") );
+#endif /* HAVE_MESSAGES */
+#endif /* ! NDEBUG */
if ( (0 != (*pflags & MHD_USE_ITC)) &&
(0 == daemon->worker_pool_size) )
{
--
To stop receiving notification emails like this one, please contact
address@hidden