X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/3c35e8a0720481f5c235fe32d7f128642661bc41..2257512d31e410938ae2f7f7f511830989c58f7f:/server/cgimain.c diff --git a/server/cgimain.c b/server/cgimain.c index 638a713..253f82e 100644 --- a/server/cgimain.c +++ b/server/cgimain.c @@ -47,7 +47,8 @@ int main(int argc, char **argv) { configfile = xstrdup(conf); if(getenv("DISORDER_DEBUG")) debugging = 1; - if(config_read(0)) + /* Read configuration */ + if(config_read(0/*!server*/)) exit(EXIT_FAILURE); /* Figure out our URL. This can still be overridden from the config file if * necessary but it shouldn't be necessary in ordinary installations. */ @@ -68,7 +69,7 @@ int main(int argc, char **argv) { /* Create the initial connection, trying the cookie if we found a suitable * one. */ dcgi_login(); - /* The main program... */ + /* Do whatever the user wanted */ dcgi_action(NULL); /* In practice if a write fails that probably means the web server went away, * but we log it anyway. */