/*
+ * $Id$
+ *
* modified from Sten Gunterberg's BUGTRAQ post of 22 Jul 1997
* --nathan bryant <bryant@cs.usm.maine.edu>
*
- * $Id$
*/
/*
* Written July 1997 by Sten Gunterberg (gunterberg@ergon.ch)
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <string.h>
+#include "webcit.h"
+#include "webserver.h"
static int needed(const char *fmt, va_list argp)
{
int size;
if ((p = malloc(needed(fmt, argp) + 1)) == NULL) {
- fprintf(stderr, "vsnprintf: malloc failed, aborting\n");
+ lprintf(1, "vsnprintf: malloc failed, aborting\n");
abort();
}
if ((size = vsprintf(p, fmt, argp)) >= max)