From 6b22c5d059651087ff9e5a301caf877c40dcdfb6 Mon Sep 17 00:00:00 2001 From: tradke Date: Wed, 17 Jul 2002 15:56:06 +0000 Subject: Removed unused static variable 'http_actualport'. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@174 1faa4e14-9dd3-4be0-9f0e-ffe519881164 --- src/Startup.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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 ? */ -- cgit v1.2.3