diff options
author | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-21 14:00:38 +0000 |
---|---|---|
committer | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-21 14:00:38 +0000 |
commit | d459e03bae0f4757a19986c5559641f1c51831a1 (patch) | |
tree | 8704a3ad6434d3a91efd4c08756a203bd6029aab /src/Startup.c | |
parent | 6da8c26dc91515af7f192bb44e868f202dcb4a3a (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.c | 2 |
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); |