diff options
author | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-17 08:39:44 +0000 |
---|---|---|
committer | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-17 08:39:44 +0000 |
commit | 6533f15c87091680cc2a049f28637dc749f6f181 (patch) | |
tree | 94870d3bf68b6813f23c7be65946f24af13240a8 /src/Startup.c | |
parent | a7791a09812214ee063b51c0eeb35083adf8e3f5 (diff) |
Removed 'standalone' parameter as it was redundant - can now start the
simulation paused.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@33 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Startup.c b/src/Startup.c index 8fe2264..8772d86 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -56,11 +56,11 @@ int HTTP_Startup(void) HTTP_UpdateState(NULL, &state); - while(state.standalone) + do { if(CCTK_MyProc(NULL) == 0) { - HTTP_Poll(NULL, -1,-1); + HTTP_Poll(NULL, -1, -1); } if(state.steer == 1) @@ -73,9 +73,10 @@ int HTTP_Startup(void) if(state.terminate) { HTTP_Terminate(NULL); - } - } - + } + + } while(state.paused); + return 0; } |