You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by pi...@apache.org on 2002/06/23 18:50:40 UTC

cvs commit: jakarta-tomcat-connectors/webapp/apache-1.3 mod_webapp.c

pier        2002/06/23 09:50:40

  Modified:    webapp/apache-1.3 mod_webapp.c
  Log:
  Fixed apr_psprintf -> ap_psprintf for Apache 1.3. The pool used in
  request_rec is not an APR memory pool...
  PR:		none
  Obtained from:	Tomcat Mailing List <to...@jakarta.apache.org>
  Submitted by:	Nico Seessle <ni...@apache.org>
  Reviewed by:	Pier Fumagalli <pi...@betaversion.org>
  
  Revision  Changes    Path
  1.36      +2 -2      jakarta-tomcat-connectors/webapp/apache-1.3/mod_webapp.c
  
  Index: mod_webapp.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/apache-1.3/mod_webapp.c,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- mod_webapp.c	13 Jun 2002 11:06:47 -0000	1.35
  +++ mod_webapp.c	23 Jun 2002 16:50:40 -0000	1.36
  @@ -296,7 +296,7 @@
       request_rec *req=(request_rec *)r->data;
   
       if ((message!=NULL) && (message[0]!='\0'))
  -        req->status_line=apr_psprintf(req->pool,"%03d %s", status, message);
  +        req->status_line=ap_psprintf(req->pool,"%03d %s", status, message);
   
       req->status=status;
   }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>