projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't treat application/octet-stream with type=tar special.
[mmh]
/
uip
/
msgchk.c
diff --git
a/uip/msgchk.c
b/uip/msgchk.c
index
5b75814
..
ee81226
100644
(file)
--- a/
uip/msgchk.c
+++ b/
uip/msgchk.c
@@
-7,7
+7,6
@@
*/
#include <h/mh.h>
*/
#include <h/mh.h>
-#include <h/mts.h>
#include <h/tws.h>
#include <pwd.h>
#include <h/tws.h>
#include <pwd.h>
@@
-24,6
+23,7
@@
static struct swit switches[] = {
{ "version", 0 },
#define HELPSW 5
{ "help", 0 },
{ "version", 0 },
#define HELPSW 5
{ "help", 0 },
+ { NULL, 0 },
};
/*
};
/*
@@
-32,7
+32,6
@@
static struct swit switches[] = {
*/
#define MAXVEC 51
*/
#define MAXVEC 51
-#define NT_NONE 0x0
#define NT_MAIL 0x1
#define NT_NMAI 0x2
#define NT_ALL (NT_MAIL | NT_NMAI)
#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();
/* read user profile/context */
context_read();
- mts_init(invo_name);
user = getusername();
arguments = getarguments(invo_name, argc, argv, 1);
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) {
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");
}
}
printf("\n");
}