marcsaeg    01/10/05 11:49:42

  Modified:    src/native/jk Tag: tomcat_32 jk_lb_worker.c
  Log:
  Use a zero byte, not a NULL pointer to terminate the string.
  
  Submitted by:  Mathias Herberts [[EMAIL PROTECTED]]
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.2   +2 -2      jakarta-tomcat/src/native/jk/Attic/jk_lb_worker.c
  
  Index: jk_lb_worker.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/native/jk/Attic/jk_lb_worker.c,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- jk_lb_worker.c    2001/01/11 03:07:11     1.2.2.1
  +++ jk_lb_worker.c    2001/10/05 18:49:42     1.2.2.2
  @@ -58,7 +58,7 @@
    *              several workers.                                           *
    * Author:      Gal Shachor <[EMAIL PROTECTED]>                           *
    * Based on:                                                               *
  - * Version:     $Revision: 1.2.2.1 $                                               *
  + * Version:     $Revision: 1.2.2.2 $                                               *
    ***************************************************************************/
   
   #include "jk_pool.h"
  @@ -133,7 +133,7 @@
                    * string if appended...
                    */
                   if(id_end = strchr(id_start, '?')) { 
  -                    id_end = NULL;
  +                    id_end = '\0';
                   }
                   return id_start;
               }
  
  
  


Reply via email to