X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmsgchk.c;h=ee812268337baee7e057a5f6670f6685ce8e29de;hb=01a3480928da485b4d6109d36d751dfa71799d58;hp=5b75814c2b28a0799b5f8ca1ade8b51c9451a113;hpb=684ec30d81e1223a282764452f4902ed4ad1c754;p=mmh diff --git a/uip/msgchk.c b/uip/msgchk.c index 5b75814..ee81226 100644 --- a/uip/msgchk.c +++ b/uip/msgchk.c @@ -7,7 +7,6 @@ */ #include -#include #include #include @@ -24,6 +23,7 @@ static struct swit switches[] = { { "version", 0 }, #define HELPSW 5 { "help", 0 }, + { NULL, 0 }, }; /* @@ -32,7 +32,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 +68,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 +232,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"); }