diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-07-14 23:13:17 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-07-14 23:13:17 +0000 |
commit | 4fb5df677b96327a8d3f24c259f8b81d3e9fd20a (patch) | |
tree | 9449c2d3dc7b55e6d4f95504454bec3e337a87e7 /src/main/WarnLevel.c | |
parent | 4c0daea2be92ec8631853660a03dafcf05626da8 (diff) |
Use CCTK_Abort instead of exit to quit
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1731 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/WarnLevel.c')
-rw-r--r-- | src/main/WarnLevel.c | 4 |
1 files 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; |