Here's a patch to today's command-line username question. I haven't really
tested it, but it looks like it works OK to me.
(This one was easy, once I knew it was possible.)

-Geoff

diff -u -r1.10 -r1.11
--- htdig3/htdig/htdig.cc       1999/06/16 18:27:14     1.10
+++ htdig3/htdig/htdig.cc       1999/07/05 20:10:41     1.11
@@ -80,6 +80,8 @@
                break;
            case 'u':
                credentials = optarg;
+               for (int pos = 0; pos < strlen(optarg); pos++)
+                 optarg[pos] = '*';
                break;
            case 'a':
                alt_work_area++;


------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to