X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmsgchk.c;h=dfbdd69e1df828fa726fd31737ea042cdf9d640f;hp=5b75814c2b28a0799b5f8ca1ade8b51c9451a113;hb=32b2354dbaf4bf934936eb5b102a4a3d2fdd209a;hpb=684ec30d81e1223a282764452f4902ed4ad1c754 diff --git a/uip/msgchk.c b/uip/msgchk.c index 5b75814..dfbdd69 100644 --- a/uip/msgchk.c +++ b/uip/msgchk.c @@ -7,7 +7,6 @@ */ #include -#include #include #include @@ -21,9 +20,10 @@ static struct swit switches[] = { #define NNOTESW 3 { "nonotify type", 0 }, #define VERSIONSW 4 - { "version", 0 }, + { "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"); }