aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-22 09:25:18 +0000
committerChristian Grothoff <christian@grothoff.org>2016-09-22 09:25:18 +0000
commit4acefd453fe913af72310ec8f7203493e2b485ec (patch)
tree395e8e854600781f25b3a490f3c362edc402f640 /src/testcurl/https
parent4c25471bfdcc8f7568ad58f1fa30da3e9e8e77b5 (diff)
downloadlibmicrohttpd-4acefd453fe913af72310ec8f7203493e2b485ec.tar.gz
libmicrohttpd-4acefd453fe913af72310ec8f7203493e2b485ec.zip
simplify error handling by baking it into the macros
Diffstat (limited to 'src/testcurl/https')
-rw-r--r--src/testcurl/https/test_https_time_out.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testcurl/https/test_https_time_out.c b/src/testcurl/https/test_https_time_out.c
index 914100eb..b1725256 100644
--- a/src/testcurl/https/test_https_time_out.c
+++ b/src/testcurl/https/test_https_time_out.c
@@ -32,6 +32,16 @@
32#include <gcrypt.h> 32#include <gcrypt.h>
33#include "mhd_sockets.h" /* only macros used */ 33#include "mhd_sockets.h" /* only macros used */
34 34
35#undef MHD_PANIC
36
37
38void
39MHD_PANIC (char *msg)
40{
41 fprintf (stderr, "%s", msg);
42 abort ();
43}
44
35#ifdef _WIN32 45#ifdef _WIN32
36#ifndef WIN32_LEAN_AND_MEAN 46#ifndef WIN32_LEAN_AND_MEAN
37#define WIN32_LEAN_AND_MEAN 1 47#define WIN32_LEAN_AND_MEAN 1