openbsd-ports/mail/popclient/patches/patch-options_c

13 lines
476 B
Plaintext
Raw Normal View History

2000-06-04 20:31:33 -04:00
$OpenBSD: patch-options_c,v 1.1 2000/06/05 00:31:34 espie Exp $
--- options.c.orig Mon Aug 14 20:36:39 1995
+++ options.c Mon Jun 5 02:15:41 2000
@@ -233,7 +233,7 @@ struct optrec *options;
1997-11-14 19:04:24 -05:00
case LA_PASSWORD:
strncpy(options->password,optarg,sizeof(options->password)-1);
for (i = strlen(options->password)-1; i >= 0; i--)
- argv[optind-1][i] = '*';
+ argv[optind-1][i] = '\0';
break;
case 'o':
case LA_LOCALFILE: