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/src mod_auth_db.c
Date Sun, 03 Nov 1996 21:40:24 GMT
brian       96/11/03 13:40:24

  Modified:    src       mod_auth_db.c
  Log:
  Fixed -Wall warnings related to constification.
  
  Revision  Changes    Path
  1.5       +5 -3      apache/src/mod_auth_db.c
  
  Index: mod_auth_db.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_auth_db.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -C3 -r1.4 -r1.5
  *** mod_auth_db.c	1996/11/03 20:48:30	1.4
  --- mod_auth_db.c	1996/11/03 21:40:23	1.5
  ***************
  *** 93,99 ****
        return pcalloc (p, sizeof(db_auth_config_rec));
    }
    
  ! char *set_db_slot (cmd_parms *cmd, void *offset, char *f, char *t)
    {
        if (!t || strcmp(t, "db"))
            return DECLINE_CMD;
  --- 93,99 ----
        return pcalloc (p, sizeof(db_auth_config_rec));
    }
    
  ! const char *set_db_slot (cmd_parms *cmd, void *offset, char *f, char *t)
    {
        if (!t || strcmp(t, "db"))
            return DECLINE_CMD;
  ***************
  *** 216,222 ****
        require_line *reqs = reqs_arr ? (require_line *)reqs_arr->elts : NULL;
    
        register int x;
  !     char *t, *w;
    
        if (!sec->auth_dbgrpfile) return DECLINED;
        if (!reqs_arr) return DECLINED;
  --- 216,223 ----
        require_line *reqs = reqs_arr ? (require_line *)reqs_arr->elts : NULL;
    
        register int x;
  !     const char *t;
  !     char *w;
    
        if (!sec->auth_dbgrpfile) return DECLINED;
        if (!reqs_arr) return DECLINED;
  ***************
  *** 229,235 ****
            w = getword(r->pool, &t, ' ');
    	
            if(!strcmp(w,"group") && sec->auth_dbgrpfile) {
  !            char *orig_groups,*groups,*v;
    
               if (!(groups = get_db_grp(r, user, sec->auth_dbgrpfile))) {
                   sprintf(errstr,"user %s not in DB group file %s",
  --- 230,237 ----
            w = getword(r->pool, &t, ' ');
    	
            if(!strcmp(w,"group") && sec->auth_dbgrpfile) {
  ! 	   const char *orig_groups,*groups;
  !            char *v;
    
               if (!(groups = get_db_grp(r, user, sec->auth_dbgrpfile))) {
                   sprintf(errstr,"user %s not in DB group file %s",
  
  
  

Mime
View raw message