tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@locus.apache.org
Subject cvs commit: jakarta-tomcat-4.0/connectors/apache-1.3 mod_webapp.c
Date Thu, 14 Dec 2000 05:31:09 GMT
pier        00/12/13 21:31:09

  Modified:    connectors/apache-1.3 mod_webapp.c
  Log:
  Thanks Jon for pointing those two out...
  
  Revision  Changes    Path
  1.7       +4 -4      jakarta-tomcat-4.0/connectors/apache-1.3/mod_webapp.c
  
  Index: mod_webapp.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/connectors/apache-1.3/mod_webapp.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- mod_webapp.c	2000/12/14 03:47:07	1.6
  +++ mod_webapp.c	2000/12/14 05:31:09	1.7
  @@ -55,7 +55,7 @@
    *                                                                           *
    * ========================================================================= */
   
  -// CVS $Id: mod_webapp.c,v 1.6 2000/12/14 03:47:07 pier Exp $
  +// CVS $Id: mod_webapp.c,v 1.7 2000/12/14 05:31:09 pier Exp $
   // Author: Pier Fumagalli <mailto:pier.fumagalli@eng.sun.com>
   
   #include <httpd.h>
  @@ -415,7 +415,7 @@
       char *t="";
   
       if (r==NULL) return(FALSE);
  -    if (t!=NULL) t=ap_pstrdup(r->pool,type);
  +    if (type!=NULL) t=ap_pstrdup(r->pool,type);
   
       r->content_type=t;
       ap_table_add(r->headers_out, "Content-Type", t);
  @@ -438,8 +438,8 @@
   
       if (r==NULL) return(FALSE);
       
  -    if (n!=NULL) n=ap_pstrdup(r->pool,name);
  -    if (v!=NULL) v=ap_pstrdup(r->pool,value);
  +    if (name!=NULL) n=ap_pstrdup(r->pool,name);
  +    if (value!=NULL) v=ap_pstrdup(r->pool,value);
       
       ap_table_add(r->headers_out,n,v);
       return(TRUE);
  
  
  

Mime
View raw message