mantis 1652

This commit is contained in:
Christian Grothoff
2011-01-27 09:52:23 +00:00
parent 1d5bf289b4
commit d251f28095
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -1,3 +1,7 @@
Thu Jan 27 10:51:39 CET 2011
Disable 'EXTRA_CHECKS's by default as suggested in #1652
(I guess it is time). -CG/timn
Thu Jan 27 10:48:55 CET 2011
Removing bogus assertion in basic authentication code (#1651). -CG/timn
+5 -1
View File
@@ -33,7 +33,11 @@
#include <gnutls/gnutls.h>
#endif
#define EXTRA_CHECKS MHD_YES
/**
* Should we perform additional sanity checks at runtime (on our internal
* invariants)? This may lead to aborts, but can be useful for debugging.
*/
#define EXTRA_CHECKS MHD_NO
#define MHD_MAX(a,b) ((a)<(b)) ? (b) : (a)
#define MHD_MIN(a,b) ((a)<(b)) ? (a) : (b)