You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Brian Behlendorf <br...@hyperreal.com> on 1996/06/10 01:50:17 UTC
cvs commit: apache/support htpasswd.c
brian 96/06/09 16:50:16
Modified: support htpasswd.c
Log:
Reviewed by: Brian Behlendorf (brian@organic.com)
Submitted by: Mario Sergio Fujikawa Ferreira <li...@gns.com.br>
Fixes a prototype to remove a warning message.
Revision Changes Path
1.2 +2 -2 apache/support/htpasswd.c
Index: htpasswd.c
===================================================================
RCS file: /export/home/cvs/apache/support/htpasswd.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C3 -r1.1 -r1.2
*** htpasswd.c 1996/01/14 18:49:48 1.1
--- htpasswd.c 1996/06/09 23:50:13 1.2
***************
*** 84,91 ****
void add_password(char *user, FILE *f) {
char *pw, *cpw, salt[3];
! pw = strd(getpass("New password:"));
! if(strcmp(pw,getpass("Re-type new password:"))) {
fprintf(stderr,"They don't match, sorry.\n");
if(tn)
unlink(tn);
--- 84,91 ----
void add_password(char *user, FILE *f) {
char *pw, *cpw, salt[3];
! pw = strd((char *) getpass("New password:"));
! if(strcmp(pw,(char *) getpass("Re-type new password:"))) {
fprintf(stderr,"They don't match, sorry.\n");
if(tn)
unlink(tn);