httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject cvs commit: httpd-2.0/modules/http mod_mime.c
Date Mon, 12 Feb 2001 03:02:05 GMT
gstein      01/02/11 19:02:05

  Modified:    modules/http mod_mime.c
  Log:
  sneaky for loop... make it more obvious what it is doing
  
  Revision  Changes    Path
  1.38      +2 -1      httpd-2.0/modules/http/mod_mime.c
  
  Index: mod_mime.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/mod_mime.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -u -r1.37 -r1.38
  --- mod_mime.c	2001/02/10 14:04:19	1.37
  +++ mod_mime.c	2001/02/12 03:02:05	1.38
  @@ -506,7 +506,8 @@
       cp++;
       mp = cp;
   
  -    for (; *cp != ';' && *cp != '\0'; cp++);
  +    for (; *cp != ';' && *cp != '\0'; cp++)
  +        continue;
       ctp->subtype = apr_pstrndup(p, mp, cp - mp);
       ctp->subtype = zap_sp(ctp->subtype);
       if ((ctp->subtype == NULL) || (*(ctp->subtype) == '\0') ||
  
  
  

Mime
View raw message