httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server rfc1413.c
Date Fri, 02 Mar 2001 19:46:23 GMT
trawick     01/03/02 11:46:19

  Modified:    server   rfc1413.c
  Log:
  in rfc1413_query():
    use the buflen variable even on ASCII machines to get rid of a
    warning from the SGI compiler as well as to make it go a wee
    bit faster
  
  PR:		6980
  
  Revision  Changes    Path
  1.39      +1 -1      httpd-2.0/server/rfc1413.c
  
  Index: rfc1413.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/rfc1413.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- rfc1413.c	2001/02/16 04:26:47	1.38
  +++ rfc1413.c	2001/03/02 19:46:08	1.39
  @@ -206,7 +206,7 @@
   
       /* send query to server. Handle short write. */
       i = 0;
  -    while (i < strlen(buffer)) {
  +    while (i < buflen) {
           apr_size_t j = strlen(buffer + i);
           apr_status_t status;
   	status  = apr_send(sock, buffer+i, &j);
  
  
  

Mime
View raw message