Updating user programs to use <h/tws> instead of <zotnet/tws/tws.h>
[mmh] / uip / msgchk.c
index 2553c49..fdf32d6 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <h/mh.h>
 #include <zotnet/mts/mts.h>
-#include <zotnet/tws/tws.h>
+#include <h/tws.h>
 #include <pwd.h>
 
 #ifdef POP
@@ -259,6 +259,9 @@ main (int argc, char **argv)
 
 #ifdef POP
     if (host) {
+       if ( strcmp( POPSERVICE, "kpop" ) == 0 ) {
+           kpop = 1;
+       }
        if (vecp == 0) {
            status = remotemail (host, user, rpop, kpop, notifysw, 1, snoop);
        } else {