]> code.citadel.org Git - citadel.git/blobdiff - webcit/webserver.c
* Remove the defaulthost/defaultport vs. c_host/c_port stuff -- we haven't
[citadel.git] / webcit / webserver.c
index c15846c613bf97b2f7164da5f1c8b674e1c7c768..7924feaeb0809ba36986277cfaee8086a2837ba5 100644 (file)
@@ -54,8 +54,8 @@ extern pthread_key_t MyConKey;
 char *server_cookie = NULL;
 
 
-char *defaulthost = DEFAULT_HOST;
-char *defaultport = DEFAULT_PORT;
+char *ctdlhost = DEFAULT_HOST;
+char *ctdlport = DEFAULT_PORT;
 
 /*
  * This is a generic function to set up a master socket for listening on
@@ -263,9 +263,9 @@ int main(int argc, char **argv)
                }
 
        if (optind < argc) {
-               defaulthost = argv[optind];
+               ctdlhost = argv[optind];
                if (++optind < argc)
-                       defaultport = argv[optind];
+                       ctdlport = argv[optind];
        }
        /* Tell 'em who's in da house */
        lprintf(1, SERVER "\n"