X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebserver.c;h=3546878dbcbeeb572aaad8d8b70a9afa3ef777fd;hb=4a30bae41553c9c6331aebe7c7b7f72b787f7860;hp=ae0c3dae56ad5ae45ec28136f6967719ab5ee80e;hpb=5a287bfe887045edc721294b24c1e433880c033d;p=citadel.git diff --git a/webcit/webserver.c b/webcit/webserver.c index ae0c3dae5..3546878db 100644 --- a/webcit/webserver.c +++ b/webcit/webserver.c @@ -22,7 +22,6 @@ int vsnprintf(char *buf, size_t max, const char *fmt, va_list argp); extern int msock; /* master listening socket */ extern int verbosity; /* Logging level */ extern char static_icon_dir[PATH_MAX]; /* where should we find our mime icons */ -extern long MaxRead; int is_https = 0; /* Nonzero if I am an HTTPS service */ int follow_xff = 0; /* Follow X-Forwarded-For: header */ int home_specified = 0; /* did the user specify a homedir? */ @@ -114,9 +113,9 @@ int main(int argc, char **argv) /* Parse command line */ #ifdef HAVE_OPENSSL - while ((a = getopt(argc, argv, "R:u:h:i:p:t:T:B:x:dD:G:cfsS:Z")) != EOF) + while ((a = getopt(argc, argv, "u:h:i:p:t:T:B:x:dD:G:cfsS:Z")) != EOF) #else - while ((a = getopt(argc, argv, "R:u:h:i:p:t:T:B:x:dD:G:cfZ")) != EOF) + while ((a = getopt(argc, argv, "u:h:i:p:t:T:B:x:dD:G:cfZ")) != EOF) #endif switch (a) { case 'u': @@ -205,9 +204,6 @@ int main(int argc, char **argv) I18nDump = NewStrBufPlain(HKEY("int templatestrings(void)\n{\n")); I18nDumpFile = optarg; break; - case 'R': - MaxRead = atol(optarg); - break; default: fprintf(stderr, "usage: webcit " "[-i ip_addr] [-p http_port] "