coar        99/02/03 15:28:59

  Modified:    src/ap   ap_md5c.c
  Log:
        Fix #ifdef problem for Win32 and nuke __P() prototypes.
  
  Revision  Changes    Path
  1.20      +1 -3      apache-1.3/src/ap/ap_md5c.c
  
  Index: ap_md5c.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/ap/ap_md5c.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- ap_md5c.c 1999/02/03 16:22:30     1.19
  +++ ap_md5c.c 1999/02/03 23:28:58     1.20
  @@ -415,11 +415,8 @@
    * licenced as stated at the top of this file.
    */
   
  -static void to64 __P((char *, unsigned long, int));
  -
   static void to64(char *s, unsigned long v, int n)
   {
  -static void to64 __P((char *, unsigned long, int));
       static unsigned char itoa64[] =         /* 0 ... 63 => ASCII - 64 */
        "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
   
  @@ -602,6 +599,7 @@
         */
   #ifdef WIN32
        return "crypt() unavailable on Win32, cannot validate password";
  +    }
   #else
        crypt_pw = crypt(passwd, hash);
        ap_cpystrn(sample, crypt_pw, sizeof(sample) - 1);
  
  
  

Reply via email to