Updating user programs to use <h/tws> instead of <zotnet/tws/tws.h>
[mmh] / uip / inc.c
index fd7b55e..f203062 100644 (file)
--- a/uip/inc.c
+++ b/uip/inc.c
@@ -32,7 +32,7 @@
 #include <h/fmt_scan.h>
 #include <h/scansbr.h>
 #include <h/signals.h>
-#include <zotnet/tws/tws.h>
+#include <h/tws.h>
 #include <zotnet/mts/mts.h>
 #include <errno.h>
 #include <signal.h>
@@ -105,7 +105,7 @@ static struct swit switches[] = {
 #define VERSIONSW                 20
     { "version", 0 },
 #define        HELPSW                    21
-    { "help", 4 },
+    { "help", 0 },
 #define SNOOPSW                   22
     { "snoop", -5 },
 #define KPOPSW                    23
@@ -402,6 +402,9 @@ main (int argc, char **argv)
     if (inc_type == INC_POP) {
        if (user == NULL)
            user = getusername ();
+       if ( strcmp( POPSERVICE, "kpop" ) == 0 ) {
+           kpop = 1;
+       }
        if (kpop || ( rpop > 0))
            pass = getusername ();
        else