
From: Gilles Detillieux <grdetil@scrc.umanitoba.ca>
To: htdig@htdig.org
Subject: [htdig] Patch

This is Geoff's patch to hide the username/password in the command line
arguments.

--- htdig-3.1.2/htdig/htdig.cc.orig	Wed Apr 21 21:47:57 1999
+++ htdig-3.1.2/htdig/htdig.cc	Fri Jul 30 17:24:32 1999
@@ -79,6 +79,8 @@ main(int ac, char **av)
 		break;
 	    case 'u':
 		credentials = optarg;
+		for (int pos = 0; pos < strlen(optarg); pos++)
+		  optarg[pos] = '*';
 		break;
 	    case 'a':
 		alt_work_area++;

