tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c
Date Fri, 03 Jan 2003 16:35:45 GMT
jfclere     2003/01/03 08:35:45

  Modified:    jk/native2/common jk_uriMap.c
  Log:
  Otherwise it cores (on Solaris for example) in vsnprintf when not using APR.
  
  Revision  Changes    Path
  1.59      +6 -3      jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c
  
  Index: jk_uriMap.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- jk_uriMap.c	15 Nov 2002 08:10:19 -0000	1.58
  +++ jk_uriMap.c	3 Jan 2003 16:35:44 -0000	1.59
  @@ -460,10 +460,13 @@
           char *context= uriEnv->contextPath;
           jk_uriEnv_t *hostEnv = jk2_uriMap_hostMap(env, uriMap, vhost, port);
           jk_uriEnv_t *ctxEnv;
  -        
  +       
           env->l->jkLog(env, env->l, JK_LOG_DEBUG,
  -                              "uriMap: fix uri %s context %s host %s\n", uriEnv->uri,

  -                              uriEnv->contextPath, hostEnv->virtual);
  +                      "uriMap: fix uri %s context %s host %s\n",
  +                       uriEnv->uri==NULL ? "null":uriEnv->uri,
  +                       uriEnv->contextPath==NULL ? "null":uriEnv->contextPath,
  +                       hostEnv->virtual);
  +
           if (context == NULL) {
               if (  uriMap->mbean->debug > 5) 
                   env->l->jkLog(env, env->l, JK_LOG_DEBUG,
  
  
  

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


Mime
View raw message