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
Date Fri, 19 Nov 2004 14:28:02 GMT
mturk       2004/11/19 06:28:02

  Modified:    jk/native/common jk_map.c
  Log:
  Commit the proper patch. Sorry for the noise.
  
  Revision  Changes    Path
  1.19      +5 -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.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- jk_map.c	19 Nov 2004 14:24:44 -0000	1.18
  +++ jk_map.c	19 Nov 2004 14:28:02 -0000	1.19
  @@ -159,6 +159,8 @@
   int jk_map_get_bool(jk_map_t *m, const char *name, int def)
   {
       char buf[100];
  +    size_t len;
  +    char *rc;
       int rv = 0;
       
       sprintf(buf, "%d", def);
  @@ -170,7 +172,8 @@
               *rc == 'Y' || *rc == 'y' || *rc == '1') {
               rv = 1;
           }
  -    }    
  +    }
  +    return rc;
   }
   
   char *jk_map_get_string(jk_map_t *m, const char *name, const char *def)
  
  
  

---------------------------------------------------------------------
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