httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-2.0/support htdbm.c
Date Fri, 18 Jan 2002 00:14:43 GMT
jwoolley    02/01/17 16:14:43

  Modified:    support  htdbm.c
  Log:
  As long as the spelling police are on the prowl, I figured I might as well
  pitch in.
  
  Revision  Changes    Path
  1.5       +5 -5      httpd-2.0/support/htdbm.c
  
  Index: htdbm.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/htdbm.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -d -u -r1.4 -r1.5
  --- htdbm.c	24 Dec 2001 07:05:19 -0000	1.4
  +++ htdbm.c	18 Jan 2002 00:14:43 -0000	1.5
  @@ -370,7 +370,7 @@
               to64(&salt[0], rand(), 8);
               salt[8] = '\0';
               apr_cpystrn(cpw, (char *)crypt(htdbm->userpass, salt), sizeof(cpw) - 1);
  -            fprintf(stderr, "CRYPT is now depriciated, use MD5 instead !\n");
  +            fprintf(stderr, "CRYPT is now deprecated, use MD5 instead!\n");
   #endif
           default:
           break;
  @@ -410,13 +410,13 @@
       fprintf(stderr, "                -x[m"CRYPT_OPTION"ps]    [-TDBTYPE] database username\n");
       fprintf(stderr, "                -l                       [-TDBTYPE] database\n");
       fprintf(stderr, "Options:\n");
  -    fprintf(stderr, "   -b   Use the password from the command line rather"
  +    fprintf(stderr, "   -b   Use the password from the command line rather "
                       "than prompting for it.\n");
       fprintf(stderr, "   -c   Create a new database.\n");
       fprintf(stderr, "   -n   Don't update database; display results on stdout.\n");
       fprintf(stderr, "   -m   Force MD5 encryption of the password (default).\n");
   #if APR_HAVE_CRYPT_H
  -    fprintf(stderr, "   -d   Force CRYPT encryption of the password (now depriciated).\n");
  +    fprintf(stderr, "   -d   Force CRYPT encryption of the password (now deprecated).\n");
   #endif
       fprintf(stderr, "   -p   Do not encrypt the password (plaintext).\n");
       fprintf(stderr, "   -s   Force SHA encryption of the password.\n");
  @@ -584,7 +584,7 @@
           case HTDBM_VERIFY:
               if ((rv = htdbm_verify(h)) != APR_SUCCESS) {
                   if(rv == APR_ENOENT) {
  -                    fprintf(stderr, "The user '%s' cold not be found in database\n", h->username);
  +                    fprintf(stderr, "The user '%s' could not be found in database\n", h->username);
                       exit(ERR_BADUSER);
                   }
                   else {
  @@ -624,5 +624,5 @@
       htdbm_terminate(h);
       apr_terminate();
       
  -    return 0; /* Supress compiler warning. */
  +    return 0; /* Suppress compiler warning. */
   }
  
  
  

Mime
View raw message