httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@hyperreal.com>
Subject cvs commit: apache/support htpasswd.c
Date Sun, 09 Jun 1996 23:50:17 GMT
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 <lioux@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);
  
  
  

Mime
View raw message