]> code.citadel.org Git - citadel.git/commitdiff
Minor shuffling around of code and removal of unused functions.
authorArt Cancro <ajc@citadel.org>
Fri, 22 Jan 1999 00:07:39 +0000 (00:07 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 22 Jan 1999 00:07:39 +0000 (00:07 +0000)
webcit/webserver.c

index efa0dbaa6ad357a901b98d5a06de4905420a100c..531229950a74e3356f02eeb487e45e26e326a2bf 100644 (file)
@@ -46,6 +46,9 @@ extern void *context_loop(int);
 extern void *housekeeping_loop(void);
 extern pthread_mutex_t MasterCritter;
 
+const char *defaulthost = DEFAULT_HOST;
+const char *defaultport = DEFAULT_PORT;
+
 /*
  * This is a generic function to set up a master socket for listening on
  * a TCP port.  The server shuts down if the bind fails.
@@ -226,17 +229,6 @@ void start_daemon(int do_close_stdio) {
        if (fork()!=0) exit(0);
        }
 
-/*
- * Issue an HTTP Redirect header
- * url must be a complete url (with http://)
- */
-void redirect(char *url) {
-       printf("Location: %s\n\n", url);
-}
-
-const char *defaulthost = DEFAULT_HOST;
-const char *defaultport = DEFAULT_PORT;
-
 /*
  * Here's where it all begins.
  */