httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apachen/src/modules/proxy mod_proxy.c
Date Sat, 24 Jan 1998 20:30:08 GMT
dgaudet     98/01/24 12:30:08

  Modified:    src/modules/proxy mod_proxy.c
  Log:
  don't waste memory allocating an error message... use %s and such
  
  Revision  Changes    Path
  1.32      +2 -2      apachen/src/modules/proxy/mod_proxy.c
  
  Index: mod_proxy.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/proxy/mod_proxy.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- mod_proxy.c	1998/01/21 22:09:57	1.31
  +++ mod_proxy.c	1998/01/24 20:30:07	1.32
  @@ -253,8 +253,8 @@
   
   	table_set(r->headers_out, "Location", nuri);
   	aplog_error(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, r->server,
  -	     pstrcat(r->pool, "Domain missing: ", r->uri, " sent to ", nuri,
  -		     ref ? " from " : NULL, ref, NULL));
  +	    "Domain missing: %s sent to %s from %s", r->uri, nuri,
  +	    ref ? ref : "-");
   
   	return REDIRECT;
       }
  
  
  

Mime
View raw message