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/modules/aaa mod_auth.c mod_auth_anon.c mod_auth_db.c mod_auth_dbm.c
Date Sun, 18 Nov 2001 07:49:29 GMT
jwoolley    01/11/17 23:49:29

  Modified:    modules/aaa mod_auth.c mod_auth_anon.c mod_auth_db.c
                        mod_auth_dbm.c
  Log:
  Don't need apr_pcalloc on any of these, since we explicitly initialize
  all data members anyway.
  
  Submitted by:	Ryan Bloom
  
  Revision  Changes    Path
  1.36      +1 -1      httpd-2.0/modules/aaa/mod_auth.c
  
  Index: mod_auth.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/aaa/mod_auth.c,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -d -u -r1.35 -r1.36
  --- mod_auth.c	2001/08/19 05:48:18	1.35
  +++ mod_auth.c	2001/11/18 07:49:28	1.36
  @@ -90,7 +90,7 @@
   
   static void *create_auth_dir_config(apr_pool_t *p, char *d)
   {
  -    auth_config_rec *conf = apr_pcalloc(p, sizeof(*conf));
  +    auth_config_rec *conf = apr_palloc(p, sizeof(*conf));
   
       conf->auth_pwfile = NULL;	/* just to illustrate the default really */
       conf->auth_grpfile = NULL;	/* unless you have a broken HP cc */
  
  
  
  1.28      +1 -1      httpd-2.0/modules/aaa/mod_auth_anon.c
  
  Index: mod_auth_anon.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/aaa/mod_auth_anon.c,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -d -u -r1.27 -r1.28
  --- mod_auth_anon.c	2001/02/18 02:07:25	1.27
  +++ mod_auth_anon.c	2001/11/18 07:49:28	1.28
  @@ -126,7 +126,7 @@
   
   static void *create_anon_auth_dir_config(apr_pool_t *p, char *d)
   {
  -    anon_auth_config_rec *conf = apr_pcalloc(p, sizeof(*conf));
  +    anon_auth_config_rec *conf = apr_palloc(p, sizeof(*conf));
   
       /* just to illustrate the defaults really. */
       conf->anon_auth_passwords = NULL;
  
  
  
  1.32      +1 -1      httpd-2.0/modules/aaa/mod_auth_db.c
  
  Index: mod_auth_db.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/aaa/mod_auth_db.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -d -u -r1.31 -r1.32
  --- mod_auth_db.c	2001/08/19 05:48:18	1.31
  +++ mod_auth_db.c	2001/11/18 07:49:28	1.32
  @@ -127,7 +127,7 @@
   
   static void *create_db_auth_dir_config(apr_pool_t *p, char *d)
   {
  -    db_auth_config_rec *conf = apr_pcalloc(p, sizeof(*conf));
  +    db_auth_config_rec *conf = apr_palloc(p, sizeof(*conf));
   
       conf->auth_dbpwfile = NULL;
       conf->auth_dbgrpfile = NULL;
  
  
  
  1.38      +1 -1      httpd-2.0/modules/aaa/mod_auth_dbm.c
  
  Index: mod_auth_dbm.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/aaa/mod_auth_dbm.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -d -u -r1.37 -r1.38
  --- mod_auth_dbm.c	2001/08/21 00:39:56	1.37
  +++ mod_auth_dbm.c	2001/11/18 07:49:28	1.38
  @@ -118,7 +118,7 @@
   
   static void *create_dbm_auth_dir_config(apr_pool_t *p, char *d)
   {
  -    dbm_auth_config_rec *conf = apr_pcalloc(p, sizeof(*conf));
  +    dbm_auth_config_rec *conf = apr_palloc(p, sizeof(*conf));
   
       conf->auth_dbmpwfile = NULL;
       conf->auth_dbmgrpfile = NULL;
  
  
  

Mime
View raw message