X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmsgchk.c;h=e2707d330fcc0d74fa82de4ef5b69692664ae310;hp=5b75814c2b28a0799b5f8ca1ade8b51c9451a113;hb=2e5668919988fce4e523cbf2294698841b1106a0;hpb=684ec30d81e1223a282764452f4902ed4ad1c754 diff --git a/uip/msgchk.c b/uip/msgchk.c index 5b75814..e2707d3 100644 --- a/uip/msgchk.c +++ b/uip/msgchk.c @@ -7,7 +7,6 @@ */ #include -#include #include #include @@ -32,7 +31,6 @@ static struct swit switches[] = { */ #define MAXVEC 51 -#define NT_NONE 0x0 #define NT_MAIL 0x1 #define NT_NMAI 0x2 #define NT_ALL (NT_MAIL | NT_NMAI) @@ -69,7 +67,6 @@ main(int argc, char **argv) /* read user profile/context */ context_read(); - mts_init(invo_name); user = getusername(); arguments = getarguments(invo_name, argc, argv, 1); @@ -234,7 +231,7 @@ checkmail(char *user, int datesw, int notifysw, int personal) if (notifysw) { if (datesw && st.st_atime) { - printf("; last read on %s", dtime(&st.st_atime, 1)); + printf("; last read on %s", dtime(&st.st_atime)); } printf("\n"); }