diff options
author | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-16 18:30:21 +0000 |
---|---|---|
committer | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-16 18:30:21 +0000 |
commit | 26bf3412fc4693fc7d61598a542b66e375353abc (patch) | |
tree | e2a77e7068dd5342aca0fda4bb628a5148a48a0b /src/Startup.c | |
parent | 5c39bdcec67965c61cbaee6cfa091de579c8ef48 (diff) |
Fixing parallel logic.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@30 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/Startup.c b/src/Startup.c index 0fbe6ff..a829862 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -40,13 +40,16 @@ int HTTP_Startup(void) { DECLARE_CCTK_PARAMETERS - /* Does the server provide any pages by default ? */ - if(provide_pages) + if(CCTK_MyProc(NULL) == 0) { - HTTP_RegisterPages(); - } + /* Does the server provide any pages by default ? */ + if(provide_pages) + { + HTTP_RegisterPages(); + } - HTTP_SetupServer(port, queue_length); + HTTP_SetupServer(port, queue_length); + } if(standalone) { |