You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Ben Laurie <be...@hyperreal.com> on 1996/04/14 23:46:15 UTC

cvs commit: apache/src util_script.c

ben         96/04/14 14:46:14

  Modified:    src       util_script.c
  Log:
  Replace a new Location header rather than merging it.
  Submitted by: Rob Hartill
  
  Revision  Changes    Path
  1.10      +1 -1      apache/src/util_script.c
  
  Index: util_script.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/util_script.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -C3 -r1.9 -r1.10
  *** util_script.c	1996/03/06 11:06:23	1.9
  --- util_script.c	1996/04/14 21:46:12	1.10
  ***************
  *** 300,306 ****
                r->status_line = pstrdup(r->pool, l);
            }
            else if(!strcasecmp(w,"Location")) {
  ! 	    table_merge (r->headers_out, w, l);
            }   
            else {
    	    table_merge (r->err_headers_out, w, l);
  --- 300,306 ----
                r->status_line = pstrdup(r->pool, l);
            }
            else if(!strcasecmp(w,"Location")) {
  ! 	    table_set (r->headers_out, w, l);
            }   
            else {
    	    table_merge (r->err_headers_out, w, l);