aboutsummaryrefslogtreecommitdiff
path: root/src/Startup.c
diff options
context:
space:
mode:
authorgoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-09-21 14:00:38 +0000
committergoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-09-21 14:00:38 +0000
commitd459e03bae0f4757a19986c5559641f1c51831a1 (patch)
tree8704a3ad6434d3a91efd4c08756a203bd6029aab /src/Startup.c
parent6da8c26dc91515af7f192bb44e868f202dcb4a3a (diff)
Added hunting for a port if the specified port is in use - this can be
switched off by setting the parameter httpd::hunt to false. Added printing of URL to stdout. Fixed up error stuff in Sockets.c so it compiles under NT. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@75 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/Startup.c')
-rw-r--r--src/Startup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Startup.c b/src/Startup.c
index c06edd1..dd77cbe 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -51,7 +51,7 @@ int HTTP_Startup(void)
HTTP_RegisterPages();
}
- HTTP_SetupServer(port, queue_length);
+ HTTP_SetupServer(port, queue_length, hunt);
}
HTTP_UpdateState(NULL, &state);