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, 18 Mar 2005 15:22:24 GMT
mturk       2005/03/18 07:22:24

  Modified:    jk/native/common jk_map.c
  Log:
  Skip comment and empty lines.
  
  Revision  Changes    Path
  1.31      +5 -3      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.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- jk_map.c	21 Feb 2005 08:25:33 -0000	1.30
  +++ jk_map.c	18 Mar 2005 15:22:24 -0000	1.31
  @@ -423,8 +423,10 @@
   
               while (NULL != (prp = fgets(buf, LENGTH_OF_LINE, fp))) {
                   trim_prp_comment(prp);
  -                if ((rc =jk_map_read_property(m, prp)) == JK_FALSE)
  -                    break;
  +                if (*prp) {
  +                    if ((rc =jk_map_read_property(m, prp)) == JK_FALSE)
  +                        break;
  +                }
               }
               fclose(fp);
               if (modified)
  
  
  

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