aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2002-07-17 15:56:06 +0000
committertradke <tradke@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2002-07-17 15:56:06 +0000
commit6b22c5d059651087ff9e5a301caf877c40dcdfb6 (patch)
tree74b4e743b3e55d2c16b931a039af421e6eb9301b /src
parent1649fc316a7fc3892a34848580119b6718815494 (diff)
Removed unused static variable 'http_actualport'.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@174 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src')
-rw-r--r--src/Startup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Startup.c b/src/Startup.c
index 57e43a5..06d8e30 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -84,7 +84,6 @@ static int thread_started = 0;
@@*/
-static int http_actualport=5555; /* bad bad static var (should use GH) */
int HTTP_Startup(void)
{
int use_port;
@@ -122,7 +121,6 @@ int HTTP_Startup(void)
use_port = port;
}
}
- http_actualport = use_port;
if(CCTK_MyProc(NULL) == 0)
{
@@ -132,7 +130,7 @@ int HTTP_Startup(void)
HTTP_RegisterPages();
}
- http_actualport = HTTP_SetupServer(use_port, queue_length, hunt);
+ HTTP_SetupServer(use_port, queue_length, hunt);
}
/* Do we need to redirect to a master server ? */