Re: [htdig] setting uname/pword from config file?


Geoff Hutchison (ghutchis@wso.williams.edu)
Mon, 5 Jul 1999 17:00:48 -0400 (EDT)


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
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Mon Jul 05 1999 - 13:22:25 PDT