/*
- * $Id$
- *
* This is simply a filter that converts Citadel binary message format
* to readable, formatted output.
*
#include <stdio.h>
#include <ctype.h>
#include <string.h>
-
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-#endif
-
+#include <time.h>
#include <errno.h>
#include <libcitadel.h>
int fmout(int width, FILE * fp);
-#ifndef HAVE_STRERROR
-/*
- * replacement strerror() for systems that don't have it
- */
-char *strerror(int e)
-{
- static char buf[32];
-
- snprintf(buf, sizeof buf, "errno = %d", e);
- return (buf);
-}
-#endif
int main(int argc, char **argv)
{
struct tm tm;
- int a, b, e, mtype, aflag;
+ int a, b, e, aflag;
char bbb[1024];
char subject[1024];
FILE *fp;
exit(0);
} while (e != 255);
strcpy(subject, "");
- mtype = getc(fp);
+ getc(fp);
aflag = getc(fp);
if (qwk == 0)
printf(" ");