From 80b361dbb07f9d91cf7982ba2b9247bd99562cca Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 8 Nov 2014 21:38:57 +0900 Subject: [PATCH] nghttpx: Use exit instead of abort for DIE macro --- src/shrpx.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/shrpx.h b/src/shrpx.h index d6d34314..d9ccc2ed 100644 --- a/src/shrpx.h +++ b/src/shrpx.h @@ -48,8 +48,7 @@ #define _Exit(status) _exit(status) #endif // !HAVE__EXIT -#define DIE() \ - assert(0); +#define DIE() exit(EXIT_FAILURE) #define SHRPX_READ_WATERMARK (16 * 1024)