tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_map.c jk_pool.c
Date Wed, 27 Apr 2005 09:38:35 GMT
mturk       2005/04/27 02:38:35

  Modified:    jk/native/common jk_map.c jk_pool.c
  Log:
  Fix compile warnings.
  
  Revision  Changes    Path
  1.36      +2 -2      jakarta-tomcat-connectors/jk/native/common/jk_map.c
  
  Index: jk_map.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_map.c,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- jk_map.c	21 Apr 2005 10:36:58 -0000	1.35
  +++ jk_map.c	27 Apr 2005 09:38:35 -0000	1.36
  @@ -376,7 +376,7 @@
                               sep = PATH_SEPERATOR;
                           else if (jk_is_cmd_line_poperty(prp))
                               sep = ' ';
  -                        else if (!stricmp(prp, "worker.list"))
  +                        else if (!strcasecmp(prp, "worker.list"))
                               sep = ',';
                           sprintf(tmpv, "%s%c%s", oldv, sep, v);
                       }
  
  
  
  1.13      +4 -4      jakarta-tomcat-connectors/jk/native/common/jk_pool.c
  
  Index: jk_pool.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_pool.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- jk_pool.c	11 Nov 2004 14:09:03 -0000	1.12
  +++ jk_pool.c	27 Apr 2005 09:38:35 -0000	1.13
  @@ -117,13 +117,13 @@
   #if defined (DEBUG) || defined(_DEBUG)
   void jk_dump_pool(jk_pool_t *p, FILE * f)
   {
  -    fprintf(f, "Dumping for pool [%p]\n", p);
  +    fprintf(f, "Dumping for pool [%#lx]\n", p);
       fprintf(f, "size             [%d]\n", p->size);
       fprintf(f, "pos              [%d]\n", p->pos);
  -    fprintf(f, "buf              [%p]\n", p->buf);
  +    fprintf(f, "buf              [%#lx]\n", p->buf);
       fprintf(f, "dyn_size         [%d]\n", p->dyn_size);
       fprintf(f, "dyn_pos          [%d]\n", p->dyn_pos);
  -    fprintf(f, "dynamic          [%p]\n", p->dynamic);
  +    fprintf(f, "dynamic          [%#lx]\n", p->dynamic);
   
       fflush(f);
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message