* waiting on the specified port for incoming HTTP connections. When a
* connection is established, it calls context_loop() from context_loop.c.
*
- * Copyright (c) 1996-2010 by the citadel.org developers.
+ * Copyright (c) 1996-2016 by the citadel.org developers.
* This program is released under the terms of the GNU General Public License v3.
*/
*/
int main(int argc, char **argv)
{
- size_t basesize = 2; /* how big should strbufs be on creation? */
pthread_attr_t attr; /* Thread attributes */
int a; /* General-purpose variables */
char tracefile[PATH_MAX];
/* Ensure that we are linked to the correct version of libcitadel */
if (libcitadel_version_number() < LIBCITADEL_VERSION_NUMBER) {
- fprintf(stderr, " You are running libcitadel version %d.%02d\n",
- (libcitadel_version_number() / 100), (libcitadel_version_number() % 100));
- fprintf(stderr, "WebCit was compiled against version %d.%02d\n",
- (LIBCITADEL_VERSION_NUMBER / 100), (LIBCITADEL_VERSION_NUMBER % 100));
+ fprintf(stderr, " You are running libcitadel version %d\n", (libcitadel_version_number()));
+ fprintf(stderr, "WebCit was compiled against version %d\n", LIBCITADEL_VERSION_NUMBER);
return(1);
}
home_specified = 1;
home=1;
break;
- case 'B': /* Basesize */
- basesize = atoi(optarg);
- if (basesize > 2)
- StartLibCitadel(basesize);
+ case 'B': /* deprecated */
break;
case 'i':
safestrncpy(ip_addr, optarg, sizeof ip_addr);