ben         96/05/27 15:18:50

  Modified:    src       mod_auth_anon.c
  Log:
  Actually, this patch should only change mod_auth_anon.c, where it removes some
  ugly redundant semicolons, and fixes an "unreached statement" warning.
  
  The rest are due to development work on rprintf(). Blame CVS.
  
  Revision  Changes    Path
  1.4       +6 -7      apache/src/mod_auth_anon.c
  
  Index: mod_auth_anon.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_auth_anon.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -C3 -r1.3 -r1.4
  *** mod_auth_anon.c   1996/05/27 19:57:42     1.3
  --- mod_auth_anon.c   1996/05/27 22:18:49     1.4
  ***************
  *** 227,234 ****
        if (!(strcasecmp(c->user,p->password)))
          res=OK;
        p=p->next;
  !       };
  !     };
        if (
        /* username is OK */
        (res == OK) &&
  --- 227,234 ----
        if (!(strcasecmp(c->user,p->password)))
          res=OK;
        p=p->next;
  !       }
  !     }
        if (
        /* username is OK */
        (res == OK) &&
  ***************
  *** 244,250 ****
        sprintf(errstr,"Anonymous: Passwd <%s> Accepted", 
                        send_pw ? send_pw : "\'none\'");
        log_error (errstr, r->server );
  !       };
          return OK;
        } else {
            if (sec->auth_anon_authorative) {
  --- 244,250 ----
        sprintf(errstr,"Anonymous: Passwd <%s> Accepted", 
                        send_pw ? send_pw : "\'none\'");
        log_error (errstr, r->server );
  !       }
          return OK;
        } else {
            if (sec->auth_anon_authorative) {
  ***************
  *** 252,261 ****
                send_pw ? send_pw : "\'none\'");
        log_error(errstr,r->server);
        return AUTH_REQUIRED;
  !     };
  ! 
  !     return DECLINED;
  !     };
         
    
       return DECLINED;
  --- 252,260 ----
                send_pw ? send_pw : "\'none\'");
        log_error(errstr,r->server);
        return AUTH_REQUIRED;
  !     }
  !     /* Drop out the bottom to return DECLINED */
  !     }
         
    
       return DECLINED;
  
  
  

Reply via email to