aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2004-05-03 16:02:27 +0000
committergoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2004-05-03 16:02:27 +0000
commit3a9fce4dc6abfb8a848acc95a6abe9d2250d51d4 (patch)
tree0118dd3fae0fca829d670b102fe59dceb2a89dc0
parenteb70f25fe36e0feb8557e96d2d085efa1a67a256 (diff)
Change to using the terminate_next parameter when terminating the simulation
rather than calling CCTK_Exit. Fixes CactusConnect/1616. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@198 1faa4e14-9dd3-4be0-9f0e-ffe519881164
-rw-r--r--src/Server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server.c b/src/Server.c
index 4f7a9b4..19ca3f5 100644
--- a/src/Server.c
+++ b/src/Server.c
@@ -284,7 +284,7 @@ int HTTP_UpdateState(cGH *cctkGH, httpState *state)
@@*/
int HTTP_Terminate(cGH *cctkGH)
{
- CCTK_Exit(cctkGH, 0);
+ HTTP_SteerQueue("Cactus","terminate_next","yes");
return 0;
}