From 4fb5df677b96327a8d3f24c259f8b81d3e9fd20a Mon Sep 17 00:00:00 2001 From: allen Date: Fri, 14 Jul 2000 23:13:17 +0000 Subject: Use CCTK_Abort instead of exit to quit git-svn-id: http://svn.cactuscode.org/flesh/trunk@1731 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/main/WarnLevel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/WarnLevel.c b/src/main/WarnLevel.c index 9b2f1512..403b2428 100644 --- a/src/main/WarnLevel.c +++ b/src/main/WarnLevel.c @@ -146,7 +146,7 @@ int CCTK_Warn(int level, int line, const char *file, const char *thorn, const ch if(level <= error_level) { - exit(99); + CCTK_Abort(NULL,0); } return 0; @@ -292,7 +292,7 @@ int CCTK_VWarn(int level, int line, const char *file, const char *thorn, const c if(level <= error_level) { - exit(99); + CCTK_Abort(NULL,0); } return 0; -- cgit v1.2.3