httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_protocol.c
Date Sun, 08 Oct 2000 23:22:36 GMT
rbb         00/10/08 16:22:35

  Modified:    src/main http_protocol.c
  Log:
  No need for the if statement here.
  
  Revision  Changes    Path
  1.153     +1 -1      apache-2.0/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_protocol.c,v
  retrieving revision 1.152
  retrieving revision 1.153
  diff -u -r1.152 -r1.153
  --- http_protocol.c	2000/10/08 16:06:57	1.152
  +++ http_protocol.c	2000/10/08 23:22:35	1.153
  @@ -1023,7 +1023,7 @@
   	 */
           if ((toss = ap_strchr_c(temp, ASCII_LF)) != NULL) { 
               length = toss - temp + 1;
  -            e->split(e, length + (temp[length] == '\0' ? 1 : 0));
  +            e->split(e, length + (temp[length] == '\0'));
               apr_cpystrn(pos, temp, length + 1);
   	    
               AP_BUCKET_REMOVE(e);
  
  
  

Mime
View raw message