httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apache/src mod_negotiation.c
Date Wed, 05 Nov 1997 11:48:32 GMT
dgaudet     97/11/05 03:48:31

  Modified:    src      Tag: APACHE_1_2_X mod_negotiation.c
  Log:
  Fix undefined C behaviour.
  
  Submitted by:	Ben Laurie
  Reviewed by:	Dean Gaudet, Ralf Engelschall
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.40.2.3  +3 -2      apache/src/mod_negotiation.c
  
  Index: mod_negotiation.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_negotiation.c,v
  retrieving revision 1.40.2.2
  retrieving revision 1.40.2.3
  diff -u -r1.40.2.2 -r1.40.2.3
  --- mod_negotiation.c	1997/07/19 08:17:16	1.40.2.2
  +++ mod_negotiation.c	1997/11/05 11:48:30	1.40.2.3
  @@ -623,8 +623,9 @@
   {
       char *cp = header;
       
  -    while (*cp && *cp != ':')
  -        *cp++ = tolower(*cp);
  +    for ( ; *cp && *cp != ':' ; ++cp) {
  +        *cp = tolower(*cp);
  +    }
       
       if (!*cp) {
   	log_reason ("Syntax error in type map --- no ':'", r->filename, r);
  
  
  

Mime
View raw message