projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updating user programs to use <h/tws> instead of <zotnet/tws/tws.h>
[mmh]
/
uip
/
msgchk.c
diff --git
a/uip/msgchk.c
b/uip/msgchk.c
index
23ede03
..
fdf32d6
100644
(file)
--- a/
uip/msgchk.c
+++ b/
uip/msgchk.c
@@
-7,7
+7,7
@@
#include <h/mh.h>
#include <zotnet/mts/mts.h>
#include <h/mh.h>
#include <zotnet/mts/mts.h>
-#include <zotnet/tws/tws.h>
+#include <h/tws.h>
#include <pwd.h>
#ifdef POP
#include <pwd.h>
#ifdef POP
@@
-66,7
+66,7
@@
static struct swit switches[] = {
#define VERSIONSW 10
{ "version", 0 },
#define HELPSW 11
#define VERSIONSW 10
{ "version", 0 },
#define HELPSW 11
- { "help", 4 },
+ { "help", 0 },
#define SNOOPSW 12
{ "snoop", -5 },
#define KPOPSW 13
#define SNOOPSW 12
{ "snoop", -5 },
#define KPOPSW 13
@@
-259,6
+259,9
@@
main (int argc, char **argv)
#ifdef POP
if (host) {
#ifdef POP
if (host) {
+ if ( strcmp( POPSERVICE, "kpop" ) == 0 ) {
+ kpop = 1;
+ }
if (vecp == 0) {
status = remotemail (host, user, rpop, kpop, notifysw, 1, snoop);
} else {
if (vecp == 0) {
status = remotemail (host, user, rpop, kpop, notifysw, 1, snoop);
} else {