Document the -port switch to inc. Also, fix the -port switch to inc so
[mmh] / uip / inc.c
index 72c79b7..12da6ba 100644 (file)
--- a/uip/inc.c
+++ b/uip/inc.c
@@ -335,7 +335,7 @@ main (int argc, char **argv)
                continue;
 
            case PORTSW:
-               if (!(host = *argp++) || *port == '-')
+               if (!(port = *argp++) || *port == '-')
                    adios (NULL, "missing argument to %s", argp[-2]);
                continue;